stable

Clone or download

Read-only

request #26391 Error is not displayed when user creates a new document version

Introduced by 775b113cc7eca0c4e7f55c826a4b441610d0deb1 The "error" prefix is not needed anymore since the moved method is now in the same "error" namespace as "setErrorModal" mutation method. How to test: - Throws an error when a new version is created from any document type. e.g: add a : throw new RestException(400,'NOOOOOOO'); in DocmanFileResource::createNewFileVersion - Try to create a new version => The error should be displayed Change-Id: I8143a2eeef13eedf76a5c399d2b256d1d604fc33

Modified Files

Name
M plugins/document/scripts/document/store/error/error-actions.test.ts +43 −1 Go to diff View file
M plugins/document/scripts/document/store/error/error-actions.ts +3 −3 Go to diff View file