Fix lock workflow for webdav:

* internally, wait for condition that onExit-Method is exceuted (with timeout)
* store and execute onExitAction also for webdav
This commit is contained in:
Armin Schrenk
2021-04-15 10:14:28 +02:00
parent cd5c55aad7
commit 03886f88e8
3 changed files with 34 additions and 5 deletions
@@ -83,7 +83,7 @@ public class LockWorkflow extends Task<Void> {
@Override
protected void succeeded() {
LOG.info("Lock of {} succeeded.", vault.getDisplayName());
//DO NOT SET VAULT STATE HERE, this is done by the vault internally
vault.stateProperty().transition(VaultState.Value.PROCESSING, VaultState.Value.LOCKED);
}
@Override