Open davitol opened 5 years ago
GitMate.io thinks the contributor most likely able to help you is @ownclouders.
Possibly related issues are https://github.com/owncloud/core/issues/34372 (moving a locked file into a locked folder (providing token) results in conflicting locks), https://github.com/owncloud/core/issues/24737 (File Locked), https://github.com/owncloud/core/issues/26838 (File locking), https://github.com/owncloud/core/issues/28991 (file is locked), and https://github.com/owncloud/core/issues/21881 (File Permanently Locked).
it's another variation of https://github.com/owncloud/core/issues/34372
moving to backlog for now
Maybe we can add a afterMethod:MOVE
in the "new" PublicDavLocksPlugin (https://github.com/owncloud/core/pull/36402 - pending to be merged) in order to remove the persistent lock there.
Alternatively, we could add the same functionality in the "FilesPlugin" although there isn't anything related to locks there.
Steps to reproduce
1) Lock a file:
2) Lock a folder
3) Move the file into the folder using both tokens:
4) Check the lock in the moved file
Expected behavior
The lock token of the file should not be preserved https://tools.ietf.org/html/rfc4918#page-33:
Actual behavior
Both lock tokens are preserved
@individual-it @PVince81