You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Michael Brackx (JIRA)" <ji...@apache.org> on 2012/11/19 17:43:59 UTC
[jira] [Created] (CMIS-606) tck calls getFolderParent without
checking if allowed
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
[jira] [Resolved] (CMIS-606) tck calls getFolderParent without
checking if allowed
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-606.
---------------------------------
Resolution: Fixed
Fix Version/s: OpenCMIS 0.9.0
Assignee: Florian Müller
> 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
> Assignee: Florian Müller
> Fix For: OpenCMIS 0.9.0
>
>
> 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
[jira] [Commented] (CMIS-606) tck calls getFolderParent without
checking if allowed
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502230#comment-13502230 ]
Florian Müller commented on CMIS-606:
-------------------------------------
getFolderParents cannot throw a CmisNotSupportedException if the repository allows folders in the root folder. The repository may throw a CmisPermissionDeniedException if the user is not allowed to navigate upwards.
> 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
> Fix For: OpenCMIS 0.9.0
>
>
> 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