Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21681

webui cannot fetch favorites if users has never logged in the JSF UI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: WEBUI-0.9.0
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Web UI

      Description

      The Favorite.Fetch operation fails because the user workspace does not exist.

      nuxeo_1  | ****** chain ******
      nuxeo_1  | Name: Favorite.Fetch
      nuxeo_1  | Exception: OperationException
      nuxeo_1  | Caught error: Failed to invoke operation Favorite.Fetch
      nuxeo_1  | Caused by: org.nuxeo.ecm.core.api.DocumentNotFoundException: /default-domain/UserWorkspaces/Administrator/Fav
      orites
      nuxeo_1  | ****** Hierarchy calls ******
      nuxeo_1  |      org.nuxeo.ecm.collections.core.automation.FetchFavorites
      nuxeo_1  |
      nuxeo_1  |      at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:234)
      nuxeo_1  |      at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:117)
      nuxeo_1  |      at org.nuxeo.ecm.automation.server.jaxrs.OperationResource.execute(OperationResource.java:58)
      nuxeo_1  |      at org.nuxeo.ecm.automation.server.jaxrs.ExecutableResource.doPost(ExecutableResource.java:68)
      nuxeo_1  |      ... 114 more
      nuxeo_1  | Caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation Favorite.Fetch
      nuxeo_1  |      at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:189)
      nuxeo_1  |      at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.doInvoke(CompiledChainImpl.java:130)
      nuxeo_1  |      at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.invoke(CompiledChainImpl.java:116)
      nuxeo_1  |      at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:210)
      nuxeo_1  |      ... 117 more
      nuxeo_1  | Caused by: org.nuxeo.ecm.core.api.DocumentNotFoundException: /default-domain/UserWorkspaces/Administrator/Fav
      orites
      nuxeo_1  |      at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.resolvePath(SQLSession.java:198)
      nuxeo_1  |      at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:337)
      nuxeo_1  |      at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:909)
      nuxeo_1  |      at org.nuxeo.ecm.collections.core.FavoritesManagerImpl.getFavorites(FavoritesManagerImpl.java:116)
      nuxeo_1  |      at org.nuxeo.ecm.collections.core.automation.FetchFavorites.run(FetchFavorites.java:48)
      nuxeo_1  |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      nuxeo_1  |      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      nuxeo_1  |      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      nuxeo_1  |      at java.lang.reflect.Method.invoke(Method.java:498)
      nuxeo_1  |      at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:164)
      nuxeo_1  |      at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:177)
      nuxeo_1  |      ... 120 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: