I'm happy to hear that trick works. I thought about suggesting it but figured it probably wouldn't.
I added a Disqus comment to the function about this issue: http://docs.marklogic.com/xdmp:document-set-properties#comment-1313678833 Maybe that'll help the next person. Everyone, don't forget the docs have comments so we can share knowledge like this in a place where people would naturally be looking. -jh- On Apr 1, 2014, at 10:10 AM, Michael Blakeley <[email protected]> wrote: > That github bug is for an aesthetic issue. Fixing it won't fix your problem. > > Instead you should disable maintain-last-modified on the target database, do > your sync, then reenable it. > > -- Mike > > On 1 Apr 2014, at 09:51 , Raghu <[email protected]> wrote: > >> Hi All, >> >> I had several documents in one of my ML 7.x DB in a different >> environment and I wanted to clear the DB excluding a few documents, So I'd >> xqsync'ed it as a back up to my localhost ML DB which is ML 6.x. Now when >> I'm trying to sync them back to ML 7.x DB and I'm getting the folowing error >> >> XDMP-SPECIALPROP- cannot update server maintained properties >> >> I'm using document properties to additionally hold values other than >> modified date and I want them to be retained while I sync them back to ML >> 7.x DB so I'm using COPY_PROPERTIES=true while syncing. I assumed that it >> was backward compatible. Is this a privilege related issue? I see that there >> is an open issue in github >> >> https://github.com/marklogic/xqsync/issues/6 >> >> Please let me know how to modify/retain the document properties. Is this not >> supported anymore? >> _______________________________________________ >> General mailing list >> [email protected] >> http://developer.marklogic.com/mailman/listinfo/general > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
