stable

Clone or download

Read-only

request #14983 - Redirection error after the deletion of a previewed embedded file

How to test: - Open an embedded file (click on the item in the folder tree) - Open the dropdown in the header, next to the title of the document - Click [delete], then [confirm] --> The embedded file is successfully deleted --> You are redirected to the parent folder - Open the preview of a file document - Delete it --> The quick look pane is closed, the current url now looks like `/folder/{ parent_folder_id }` and not `/preview/{ document_id }` anymore. - Delete a document which is not being previewed in the quick look pane --> Deleted successfully, modal closes, notification is shown - Delete the current folder --> You are redirected to the parent folder Change-Id: Ib7047d7731b2a5ef63d4376950adab10cfcee10e

Modified Files

Name
M plugins/document/scripts/document/components/Folder/ModalDeleteItem/ModalConfirmDeletion.test.js +2 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalDeleteItem/ModalConfirmDeletion.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.js +0 −7 Go to diff View file
M plugins/document/scripts/document/store/actions.test.js +0 −18 Go to diff View file