-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 5.6
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Dashboard / OpenSocial (deprecated)
-
Backlog priority:300
When trying to access to the dashboard in a repository different than the default one, Nuxeo fails to display the dashboard with this error
ERROR [org.nuxeo.ecm.user.center.dashboard.DefaultDashboardSpaceProvider] Unable to create or get default dashboard org.nuxeo.ecm.core.api.ClientException: Failed to create document: dashboard-management at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:876) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:133) at $Proxy42.createDocument(Unknown Source) at org.nuxeo.ecm.user.center.dashboard.AbstractDashboardSpaceCreator.getDashboardManagement(AbstractDashboardSpaceCreator.java:60) at org.nuxeo.ecm.user.center.dashboard.DefaultDashboardSpaceCreator.run(DefaultDashboardSpaceCreator.java:42) at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:115) at org.nuxeo.ecm.social.workspace.spaces.SocialWorkspaceDefaultSpaceProvider.getOrCreateDefaultDashboardSpace(SocialWorkspaceDefaultSpaceProvider.java:42) at org.nuxeo.ecm.user.center.dashboard.DefaultDashboardSpaceProvider.getOrCreateSpace(DefaultDashboardSpaceProvider.java:51) at org.nuxeo.ecm.user.center.dashboard.DefaultDashboardSpaceProvider.doGetSpace(DefaultDashboardSpaceProvider.java:36) at org.nuxeo.ecm.spaces.api.AbstractSpaceProvider.getSpace(AbstractSpaceProvider.java:40) at org.nuxeo.ecm.spaces.impl.SpaceManagerImpl.getSpace(SpaceManagerImpl.java:92) at org.nuxeo.ecm.user.center.dashboard.UserDashboardSpaceProvider$DefaultDashboardSpaceCopy.run(UserDashboardSpaceProvider.java:168) at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:115) at org.nuxeo.ecm.user.center.dashboard.UserDashboardSpaceProvider.getOrCreateSpace(UserDashboardSpaceProvider.java:88) at org.nuxeo.ecm.user.center.dashboard.UserDashboardSpaceProvider.doGetSpace(UserDashboardSpaceProvider.java:69) at org.nuxeo.ecm.spaces.api.AbstractSpaceProvider.getSpace(AbstractSpaceProvider.java:40) at org.nuxeo.ecm.spaces.impl.SpaceManagerImpl.getSpace(SpaceManagerImpl.java:92) ... at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: org.nuxeo.ecm.core.model.NoSuchDocumentException: No such document: No such document: /management at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.resolvePath(SQLSession.java:242) at org.nuxeo.ecm.core.api.DocumentResolver.resolveReference(DocumentResolver.java:63) at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:479) at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:815) ... 86 more
The error is due to the fact that Nuxeo tries to get the default dashboard layout from the current repository whereas it is stored in the default repository and should be retrieved from this location.
Because the copy between 2 repositories is not implemented, the solution may involve export/import of the dashboard space document.
- is required by
-
NXP-12464 Fix dashboard display in a custom repository
- Resolved