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 B09997419 for ; Wed, 26 Oct 2011 21:25:55 +0000 (UTC) Received: (qmail 15408 invoked by uid 500); 26 Oct 2011 21:25:55 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 15357 invoked by uid 500); 26 Oct 2011 21:25:55 -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 15322 invoked by uid 99); 26 Oct 2011 21:25:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 21:25:55 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 21:25:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B462531D792 for ; Wed, 26 Oct 2011 21:23:32 +0000 (UTC) Date: Wed, 26 Oct 2011 21:23:32 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28Resolved=29_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: <1704394120.20530.1319664212740.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <938941101.19802.1319657132379.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CMIS-457) getObjectInfoIntern call anytime getObjectParents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-457?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller resolved CMIS-457. --------------------------------- Resolution: Fixed Fix Version/s: OpenCMIS 0.6.0 Assignee: Florian M=C3=BCller Fixed. But you should consider overriding either getObjectInfo() or getObjectInfoI= ntern() with you own, repository specific code for performance reasons. =20 > getObjectInfoIntern call anytime getObjectParents > ------------------------------------------------- > > Key: CMIS-457 > URL: https://issues.apache.org/jira/browse/CMIS-457 > Project: Chemistry > Issue Type: Bug > Components: opencmis-server > Affects Versions: OpenCMIS 0.5.0 > Reporter: Florent Amaridon > Assignee: Florian M=C3=BCller > Fix For: OpenCMIS 0.6.0 > > > hello if I follow CMIS 1.0 sp=C3=A9cification on the getObjectParents. > "Gets the parent folder(s) for the specified non-folder, fileable object= . " > if I have a not fileable object I must throw constraint exception. > But in getObjectInfo we call anytime the getObjectInfoIntern methode who= se is calling anytime getObjectParents.=20 > I think the check of object type is needed for check if the object is fil= eable or not, and if it's a folder. if it's the root folder getFolderParent= MUST throw invalidArgument exception. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira