Unsaved edit of a subcategory returns 404


(Bhanu Sharma) #1

This morning I was editing one of the subcategory’s name and slug. The changes weren’t saved and I clicked the edit description button one the category editor.

The category description was updated and hopepage started to show the new category name and pointed to the new slug. However, clicking those links returned 404

Solution was to manually visiting the category by entering the old slug in browser and then editing it again.

Expected behaviour is to either display the old category if the changes were not saved or if edit description is complete, returning the editing user to the category editor.