`Edit Category` makes category disappear from list if cancelled

(Michael Brown) #1

Steps to reproduce:

  • hard refresh
  • select Category
  • click Edit Category
  • cancel (I hit ESC)

The category has now disappeared from the client. I noticed it via:

  • click HamburgerCategories
  • click Create Category
  • try and create a subcategory under Category

but it also disappears from places like the ‘Create a new Topic’ dropdown.

(Jeff Atwood) #2

I believe @eviltrout fixed a few fairly severe errors here w/r/t editing categories and things getting removed from the local cache for the user doing the editing.

(Jeff Atwood) #3