WebDAV locks and unlocks

Having trouble installing Oxygen? Got a bug to report? Post it all here.
nstensland
Posts: 21
Joined: Wed Jan 16, 2019 5:16 am

WebDAV locks and unlocks

Post 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
cristi_talau
Posts: 495
Joined: Thu Sep 04, 2014 4:22 pm

Re: WebDAV locks and unlocks

Post 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
nstensland
Posts: 21
Joined: Wed Jan 16, 2019 5:16 am

Re: WebDAV locks and unlocks

Post 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
cristi_talau
Posts: 495
Joined: Thu Sep 04, 2014 4:22 pm

Re: WebDAV locks and unlocks

Post 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
nstensland
Posts: 21
Joined: Wed Jan 16, 2019 5:16 am

Re: WebDAV locks and unlocks

Post by nstensland »

I will look at the PROPFIND response from our server. Sounds like something is not compatible.

Thanks again.
Post Reply