Nuxeo Plugin accessing Dashboard not working in Nuxeo 5.3.1
-----------------------------------------------------------
Key: NXP-5515
URL: https://jira.nuxeo.org/browse/NXP-5515
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Dashboard / OpenSocial
Affects Versions: 5.3.1
Environment: OS : Windows
App Server : JBoss (Jboss bundle of Nuxeo 5.3.1)
Reporter: Bilal Ahmed
Priority: Blocker
We have created a Nuxeo plugin, which extends the Nuxeo Rest API. In our
company portal (LifeRay), a portlet makes Rest call to Nuxeo to show the
Personal workspace of logged in user. The portlet is working fine with the
Nuxeo 5.3, but throwing error in Nuxeo 5.3.1.
I have attached the Nuxeo plugin code, which can be complied and deployed to
reproduce/debug the problem. Also please see below steps to reproduce the issue.
Here is some detail about the failing location and error message.
Failing Class : PersonalWSDocumentsListRestlet.java
Failing Method : getDashboardUniverseDocumentId()
Failing Line : Univers universe =
spaceManager.getUnivers(DashboardUniverseProvider.DASHBOARD_UNIVERSE_NAME,
coreSession);
Exception thrown :
ERROR [STDERR] org.nuxeo.ecm.spaces.api.exceptions.UniversNotFoundException: No
Univers with name : 'dashboardUniverse' was found
Steps to reproduce the error :
1. Compiled and deploy the plugin to Nuxeo
2. In the browser window, type in the following url
http://localhost:8080/nuxeo/restAPI/ALL_NODES/personalWSDocumentsListRestlet/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets