Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E345D44A for ; Wed, 21 Nov 2012 19:30:00 +0000 (UTC) Received: (qmail 20308 invoked by uid 500); 21 Nov 2012 19:30:00 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 20223 invoked by uid 500); 21 Nov 2012 19:30:00 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 19844 invoked by uid 99); 21 Nov 2012 19:29:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 19:29:58 +0000 Date: Wed, 21 Nov 2012 19:29:58 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: <1552509304.13565.1353526198789.JavaMail.jiratomcat@arcas> In-Reply-To: <529742527.3294.1353343439286.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CMIS-606) tck calls getFolderParent without checking if allowed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-606?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D135022= 30#comment-13502230 ]=20 Florian M=C3=BCller commented on CMIS-606: ------------------------------------- getFolderParents cannot throw a CmisNotSupportedException if the repository= allows folders in the root folder. The repository may throw a CmisPermissi= onDeniedException if the user is not allowed to navigate upwards. =20 > 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.CmisNotSupportedExceptio= n: Not supported! > =09at org.apache.chemistry.opencmis.client.bindings.spi.webservices.Abstr= actWebServicesService.convertException(AbstractWebServicesService.java:109) > =09at org.apache.chemistry.opencmis.client.bindings.spi.webservices.Navig= ationServiceImpl.getFolderParent(NavigationServiceImpl.java:113) > =09at org.apache.chemistry.opencmis.client.runtime.FolderImpl.getParents(= FolderImpl.java:411) > =09at org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObj= ect.getParents(AbstractFilableCmisObject.java:49) > =09at org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.checkChi= ld(AbstractSessionTest.java:1667) > =09at org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.checkChi= ldren(AbstractSessionTest.java:1567) > =09at org.apache.chemistry.opencmis.tck.tests.basics.RootFolderTest.run(R= ootFolderTest.java:91) > =09at org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.run(Abst= ractSessionTest.java:150) > =09at org.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup.run(Ab= stractCmisTestGroup.java:109) > =09at org.apache.chemistry.opencmis.tck.runner.AbstractRunner.run(Abstrac= tRunner.java:250) > =09at org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackg= round(TckDialog.java:658) > =09at org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackg= round(TckDialog.java:646) > =09at javax.swing.SwingWorker$1.call(SwingWorker.java:277) > =09at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > =09at java.util.concurrent.FutureTask.run(FutureTask.java:138) > =09at javax.swing.SwingWorker.run(SwingWorker.java:316) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolEx= ecutor.java:886) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:908) > =09at 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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira