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 5581117E1D for ; Wed, 1 Oct 2014 07:50:46 +0000 (UTC) Received: (qmail 72106 invoked by uid 500); 1 Oct 2014 07:50:46 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 72052 invoked by uid 500); 1 Oct 2014 07:50:46 -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 72041 invoked by uid 99); 1 Oct 2014 07:50:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 07:50:46 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.241.57.33] (HELO plasma4.jpberlin.de) (80.241.57.33) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 07:50:38 +0000 Received: from hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by plasma.jpberlin.de (Postfix) with ESMTPS id 8BC9AAB089; Wed, 1 Oct 2014 09:50:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from plasma.jpberlin.de ([91.198.250.140]) (using TLS with cipher AES256-SHA) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10024) with ESMTPS id su7Pafn94Yel; Wed, 1 Oct 2014 09:50:01 +0200 (CEST) Received: from webmail.jpberlin.de (sinatra8.heinlein-hosting.de [91.198.250.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmueller@jpberlin.de) by plasma.jpberlin.de (Postfix) with ESMTPSA id 4907AAA663; Wed, 1 Oct 2014 09:50:01 +0200 (CEST) Received: from TIYq0cZZoDJ1n9FEXkbffc0qJtrsa5Wzy3RDQbT1t+U= (Iw6tofU3vL4CToRfHneeUru5jDwVaB+z) by webmail.jpberlin.de with HTTP (HTTP/1.1 POST); Wed, 01 Oct 2014 09:50:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 01 Oct 2014 09:50:01 +0200 From: =?UTF-8?Q?Florian_M=C3=BCller?= To: dev@chemistry.apache.org Cc: Joshy Augustine Subject: Re: UnfileObject.DELETESINGLEFILED flag In-Reply-To: References: Message-ID: X-Sender: fmui@apache.org User-Agent: RoundCube Webmail X-Virus-Checked: Checked by ClamAV on apache.org Hi Joshy, DELETESINGLEFILED should not delete a document if it exists in another folder. Sounds like a server issue. You may want to contact Alfresco. - Florian > Hi All, > > I have query regarding the expected behaviour of > UnfileObject.*DELETESINGLEFILED > flag.* > > I am using Alfresco Community Edition 5 and Open CMIS 0.12. I am > invoking > the following API where 'folder' contains a multi-filed(ie, existing > in > two folders) document. > > folder.deleteTree(*true*, UnfileObject.*DELETESINGLEFILED*, *true*) > I am finding that the folder is deleted completely and the multi-filed > document is disappearing from both folders. Is this expected? If so, is > there a way I can mention via Open CMIS API either (a) Throw an > exception > if the folder tree contains a multi-filed document OR (b) Do not delete > a > multi-filed document other than from the current folder? > > Thanks for your help.