Michael Brackx created CMIS-606:
-----------------------------------

             Summary: tck calls getFolderParent without checking if allowed
                 Key: CMIS-606
                 URL: https://issues.apache.org/jira/browse/CMIS-606
             Project: Chemistry
          Issue Type: Bug
          Components: tck
    Affects Versions: OpenCMIS 0.8.0
            Reporter: Michael Brackx


Tck calls getFolderParent without checking allowable actions.
Occurs when running RootFolderTest with a folder in the root that has no 
canGetFolderParent allowable action.

example stacktrace:
org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException: Not 
supported!
        at 
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractWebServicesService.convertException(AbstractWebServicesService.java:109)
        at 
org.apache.chemistry.opencmis.client.bindings.spi.webservices.NavigationServiceImpl.getFolderParent(NavigationServiceImpl.java:113)
        at 
org.apache.chemistry.opencmis.client.runtime.FolderImpl.getParents(FolderImpl.java:411)
        at 
org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject.getParents(AbstractFilableCmisObject.java:49)
        at 
org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.checkChild(AbstractSessionTest.java:1667)
        at 
org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.checkChildren(AbstractSessionTest.java:1567)
        at 
org.apache.chemistry.opencmis.tck.tests.basics.RootFolderTest.run(RootFolderTest.java:91)
        at 
org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.run(AbstractSessionTest.java:150)
        at 
org.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup.run(AbstractCmisTestGroup.java:109)
        at 
org.apache.chemistry.opencmis.tck.runner.AbstractRunner.run(AbstractRunner.java:250)
        at 
org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackground(TckDialog.java:658)
        at 
org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackground(TckDialog.java:646)
        at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at javax.swing.SwingWorker.run(SwingWorker.java:316)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to