Hi,

I have a question to use Oxygen to edit files via MarkLogic (5.0-4.1)
WebDAV server:

1. I created a WebDAV server and configure my Oxygen 13 to connect to a ML
db.

2. I configured a pipeline to create a new version by dls function - listen
to the "updated" state.

My steps:

a. open an xml, I can see a lock icon on the file.
b. edit and save
c. when I close the file, I saw a error message, something like "cannot
acquire the lock for file xxx"
d. after closed the file, there is no lock on the file any more
e. I cannot edit and save the file any more

I found that, after the dls function creates a new version, the lock is
released. Then I tried to call the xdmp:lock-acquire to lock the file
again. It works at some point:

c. when I close the file, I still saw a error message, but with different
message this time, like "cannot unlock the file xxx"
d. after closed the file, the lock is still there
e. I can reopen and close it to release the lock again

In this case, I checked the ErrorLog.txt, I know this is causing by the
different lock token after I call the xdmp:lock-acquire.

So, is there a way to fix this?

Thank you,
John
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to