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

                 Key: CMIS-412
                 URL: https://issues.apache.org/jira/browse/CMIS-412
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client, opencmis-workbench
    Affects Versions: OpenCMIS 0.5.0
         Environment: Windows 7
JVM 1.6.0_20 64-bit
Documentum CMIS 6.7
            Reporter: David Matheson


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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to