diff options
author | Max <max@nextcloud.com> | 2023-04-18 09:58:21 +0200 |
---|---|---|
committer | Max <max@nextcloud.com> | 2023-05-03 09:52:36 +0200 |
commit | 337fc110ec76f5287bc8e27320d2cff1ab7710f8 (patch) | |
tree | 534cde9862e5c714072e213efd7acc0bdd3bdaeb /apps/workflowengine/src | |
parent | 8873960bcfd9df8433faa5754b65ae3f2e55c1c7 (diff) | |
download | nextcloud-server-337fc110ec76f5287bc8e27320d2cff1ab7710f8.tar.gz nextcloud-server-337fc110ec76f5287bc8e27320d2cff1ab7710f8.zip |
fix: catch ManuallyLockedException and use app context
The files_lock app may throw ManuallyLockedExceptions
when attempting to revert a file that is currently opened.
This would prevent the user from rolling back a opened file.
Text and Richdocuments handle changes of the file while editing.
Allow reverting files even when they are locked by these apps
and let the apps handle the conflict.
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'apps/workflowengine/src')
0 files changed, 0 insertions, 0 deletions