stable

Clone or download

Read-only

request #22208 document, lock update is not up to date when user lock/unlock item

How to test: Lock/unlock document from everywhere: - drop down, - quicklook/no quick look - embedded documents Lock and unlock information are always correctly displayed Note: We already have a vue store, we should assert that folder content and currently displayed item are up to date with what isstored in dbx Change-Id: I61fc94bad2cbc28970cb03e38600509f7f4db0f7

Modified Files

Name
M plugins/document/scripts/document/store/error/error-actions.test.ts +2 −5 Go to diff View file
M plugins/document/scripts/document/store/error/error-actions.ts +2 −2 Go to diff View file
M plugins/document/scripts/document/store/index.js +1 −1 Go to diff View file
A plugins/document/scripts/document/store/item-mutations.test.ts +92 −0 Go to diff View file
A plugins/document/scripts/document/store/item-mutations.ts +32 −0 Go to diff View file
M plugins/document/scripts/document/store/lock/lock-actions.test.ts +17 −23 Go to diff View file
M plugins/document/scripts/document/store/lock/lock-actions.ts +4 −8 Go to diff View file
D plugins/document/scripts/document/store/lock/lock-mutations.ts +0 −28 Go to diff View file
M plugins/document/scripts/document/store/lock/module.js +0 −2 Go to diff View file
M plugins/document/scripts/document/store/mutations.js +1 −0 Go to diff View file
M plugins/document/scripts/document/type.ts +2 −1 Go to diff View file