Trying to nest category inside another nested category screw up UI


(Stephen Chung) #1

Repo:

  1. Pick a category
  2. Change its parent into a category that is already nested inside some other category
  3. You’ll get an error saying you’re not allowed to do this
  4. Escape out
  5. The UI seems to think that the category is successfully transferred under the new parent, although in reality it is not
  6. Can’t go into the category any more as the URL path will be incorrect
  7. Can only recover by refreshing entire page

(Stephen Chung) #2

Incidentally, if subcategories cannot be parents, why should they show up in the drop box at all? Why not filter them out?


(Jeff Atwood) #3

Probably a regression cc @joffreyjaffeux


(Joffrey Jaffeux) #5

I actually changed it in my branch the other day, but was waiting for a few other changes before pushing this, but I do agree.


(Joffrey Jaffeux) #6

All of this should be fixed, can you confirm please?


(Joshua Rosenfeld) #9

I can no longer reproduce this on try. Subcategories do not appear in the dropdown.


(Jeff Atwood) #10