Page 1 of 1

WebDAV locks and unlocks

Posted: Wed Jan 30, 2019 7:34 pm
by nstensland
We are hooking Oxygen up to our WebDAV server. We require using WebDAV locks to avoid concurrency issues. It is mostly working but Oxygen is not releasing locks. I never see a UNLOCK method via http. When will oxygen release the lock?

Also the locks seemed to be tied to sessions, if a user has two windows open in same browser, the lock id is the same breaking the exclusivity. This would not be an issue except that Oxygen does not sync the windows so edits in one with overwrite edits in another.

Thanks,
Nat

Re: WebDAV locks and unlocks

Posted: Fri Feb 01, 2019 2:23 pm
by cristi_talau
Hello,

To troubleshoot this issue you may want to enable more verbose HTTP logging. More details here [1].

Regarding your second problem, I registered an improvement request to make it harder for one to overwrite her own changes. We will notify you when we release a fix for this version.

Best,
Cristian

[1] https://www.oxygenxml.com/doc/versions/ ... -logs.html

Re: WebDAV locks and unlocks

Posted: Fri Feb 08, 2019 5:40 pm
by nstensland
I can see it's not sending UNLOCK ever. Could you give me some idea of when you expect Oxygen will send a UNLOCK? What triggers an UNLOCK?

Thanks again!
Nat

Re: WebDAV locks and unlocks

Posted: Mon Feb 11, 2019 5:25 pm
by cristi_talau
Hello,

When the browser tab is closed, Web Author server is notified which in turn unlocks the document. Web Author usually issues a PROPFIND request to find if the UNLOCK operation is allowed. Maybe in your case, the WebDAV server does not answers to the PROPFIND request in the way that Web Author expects.

You can send the server logs to support@oxygenxml.com so that we can analyze them.

Best,
Cristian

Re: WebDAV locks and unlocks

Posted: Wed Feb 13, 2019 5:31 pm
by nstensland
I will look at the PROPFIND response from our server. Sounds like something is not compatible.

Thanks again.