Repository navigation
Throw lock exceptions if remote share returned 423 status code - #17282
Conversation
|
423 error is converted on upload, download and any other operations like rename on the remotely locked file. |
There was a problem hiding this comment.
Inject the path? (at least optional?)
There was a problem hiding this comment.
Yeah, I was just too lazy...
|
89d6979 to
db490df
Compare
|
I rebased and injected the path, except for rename/copy where we don't know which one might have caused the lock issue. |
|
Thanks 👍 |
|
Jenkins PR here: #17296 @schiesbn @icewind1991 second review ? |
db490df to
34043d4
Compare
|
A new inspection was created. |
|
Rebased onto master to include the dependent fix and make it easier to review. Please review @schiesbn @icewind1991 @MorrisJobke |
|
@owncloud-bot I hate you Here, have a treat #17363 |
|
Jenkins passed: #17363 (comment) |
|
needs a second reviewer @schiesbn @icewind1991 @MorrisJobke |
|
@PVince81 I simply can't reproduce the original issue :( |
|
@MorrisJobke maybe you didn't enable locking properly ? Double check your server A (from the steps of #17275). Try uploading a file directly to A with cadaver while the file is locked. If you get 423, then try the same from server B. Before this PR server B would tell you upload succeeded even though it didn't. After this PR server B should properly notice the locked error and forward it. |
|
@MorrisJobke can you retest ? Make sure to have master merged into this branch when you do. |
|
Tested and works as expected 👍 |
Throw lock exceptions if remote share returned 423 status code
|
Yes, it fits with locking. @karlitschek see question above. |
|
Yes. Backport. Thanks a lot 👍 |
|
@PVince81 Can you open the backport? Thanks :) |
|
Backport PR here #17710 |
Fixes #17275
Requires #17268 to be merged first to make this testable.