Chemistry
  1. Chemistry
  2. CMIS-412

Error in workbench when getChildren request is followed by getObjectParents request. This errors for root folders in Documentum.

    Details

      Description

      After logging in to a specific repository the root folder list loads. Double-clicking on any of these root folders results in an error due to the CMIS Workbench issuing a getObjectParents request with the object ID of the selected root folder. This folder has no parents (as it's at the root) and Documentum throws the following error:

      The object: 0c0f1ac880024fcd is not a fileable & non-folder object to get object parents

      Here's the full stack trace:

      14:15:33 ERROR hemistry.opencmis.workbench.ClientHelper: CmisInvalidArgumentException: The object: 0c0f1ac880024fcd is not a fileable & non-folder object to get object parents
      org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: The object: 0c0f1ac880024fcd is not a fileable & non-folder object to get object parents
      at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractWebServicesService.convertException(AbstractWebServicesService.java:105)
      at org.apache.chemistry.opencmis.client.bindings.spi.webservices.NavigationServiceImpl.getObjectParents(NavigationServiceImpl.java:175)
      at org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject.getParents(AbstractFilableCmisObject.java:51)
      at org.apache.chemistry.opencmis.client.runtime.FolderImpl.getFolderParent(FolderImpl.java:359)
      at org.apache.chemistry.opencmis.workbench.FolderPanel.folderLoaded(FolderPanel.java:70)
      at org.apache.chemistry.opencmis.workbench.model.ClientModel.setCurrentFolder(ClientModel.java:313)
      at org.apache.chemistry.opencmis.workbench.model.ClientModel.loadFolder(ClientModel.java:163)
      at org.apache.chemistry.opencmis.workbench.FolderTable.doAction(FolderTable.java:168)
      at org.apache.chemistry.opencmis.workbench.FolderTable.access$000(FolderTable.java:57)
      at org.apache.chemistry.opencmis.workbench.FolderTable$2.mouseClicked(FolderTable.java:117)
      at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
      at java.awt.Component.processMouseEvent(Component.java:6266)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6028)
      > 14:15:33 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 1541

        Activity

        Hide
        Florian Müller added a comment -

        Thanks for the report. A workaround is in place.

        Show
        Florian Müller added a comment - Thanks for the report. A workaround is in place.

          People

          • Assignee:
            Florian Müller
            Reporter:
            David Matheson
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development