Skip to content

Fix discarding renamed directories in Web IDE

Paul Slaughter requested to merge 195776-fix-discard-rename-web-ide into master

What does this MR do?

In the discard actions, we use renameEntry to revert a rename. Unfortunately this was not enough when the parent directory no longer exists... The proposed fix in this MR is to move our createTempEntry call from our new_dropdown/modal.vue into the renameEntry action itself so that this action is properly encapsulated.

Screenshots

Before After
20200114_ide_discard_directory_rename_bug 20200114_ide_discard_directory_fix

Does this MR meet the acceptance criteria?

Conformity

References

Edited by Paul Slaughter

Merge request reports