I think this really has to do with what the webdav client is doing.  If you 
look in the access log for the webdav server, you can see what requests it is 
making.  Most webdav clients will make an update by inserting a new document.  
When you insert a new document, it will put all of the collections and 
permissions as the defaults.  So the real way to fix this I think is to have 
the webdav client do something different.

-Danny

From: [email protected] 
[mailto:[email protected]] On Behalf Of Geert Josten
Sent: Thursday, April 16, 2015 11:35 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Preserving document collection membership

Looks like it is an old RFE that is listed as fixed. Let me ask internally..

Cheers

From: Danny Sinang <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Thursday, April 16, 2015 at 8:25 PM
To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Subject: Re: [MarkLogic Dev General] Preserving document collection membership

Would this feature be a good RFE then ?

On Thu, Apr 16, 2015 at 2:18 PM, Geert Josten 
<[email protected]<mailto:[email protected]>> wrote:
Hi Danny,

Not directly no. You are expected to specify collections at each update. There 
are drawbacks, and benefits to that. I think easiest way out for you is to make 
sure that the user you are using to connect to MarkLogic, has default 
collections assigned, either directly, or inherited from some role.

Cheers,
Geert

From: Danny Sinang <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Thursday, April 16, 2015 at 7:11 PM
To: general 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] Preserving document collection membership

We sometimes modify XML docs in ML by hand (via WebDav  / Oxygen)  and discover 
later on that that XML doc is no longer part of its previous collection(s).

Is there a way to tell ML to preserve collection membership when changed via 
the said method ?

Regards,
Danny



_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to