stable
Clone or download
Read-only
part of story #13217 Display embedded content this patch will ease contribution on embedded file display. When we'll introduce the new page, we'll have to know if an item have permission or internal server error. No functional changes. How to test: - access to a folder you don't have permissions => error is properly displayed - throw error in GET docman_items/id => error is properly displayed - upload a file exceeding max upload size => error is properly displayed Change-Id: Ib4c0bc7310426e710cb76a6fffa383fc1fa7d03b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/scripts/document/app.spec.js | +2 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/App.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/EmptyState/LoadingError.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/FolderContainer.vue | +2 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/FolderView.vue | +2 | −2 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalCommon/ModalFeedback.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/NewItem/NewFolderModal.vue | +2 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/NewItem/NewItemModal.vue | +2 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/UpdateItem/UpdateEmbeddedFileModal.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/UpdateItem/UpdateFileModal.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/UpdateItem/UpdateLinkModal.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/UpdateItem/UpdateWikiModal.vue | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/router/index.js | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/actions-helpers/handle-errors.js | +7 | −7 | Go to diff View file |
M | plugins/document/scripts/document/store/actions-helpers/load-ascendant-hierarchy.spec.js | +3 | −3 | Go to diff View file |
M | plugins/document/scripts/document/store/actions-helpers/load-folder-content.spec.js | +2 | −2 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.spec.js | +11 | −8 | Go to diff View file |
A | plugins/document/scripts/document/store/error/error-getters.js | +22 | −0 | Go to diff View file |
R | plugins/document/scripts/document/store/mutations-errors.js | Go to diff View file | ||
R | plugins/document/scripts/document/store/mutations-errors.spec.js | Go to diff View file | ||
A | plugins/document/scripts/document/store/error/module.js | +34 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/getters.js | +0 | −3 | Go to diff View file |
M | plugins/document/scripts/document/store/index.js | +5 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/mutations.js | +0 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/mutations.spec.js | +0 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/state.js | +0 | −5 | Go to diff View file |