chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Sanders <dave8...@gmail.com>
Subject Re: UnfileObject.DELETESINGLEFILED flag
Date Wed, 01 Oct 2014 16:07:31 GMT
Similar Alfresco issue [1] has a status of "Won't Fix".   The last two
comments on [1] explain why.

[1] https://issues.alfresco.com/jira/browse/ALF-15801



On Wed, Oct 1, 2014 at 12:50 AM, Florian Müller <fmui@apache.org> wrote:

> 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.
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message