Trying to nest category inside another nested category screw up UI

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
5 Likes

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

8 Likes

Probably a regression cc @joffreyjaffeux

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.

5 Likes

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

2 Likes

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

3 Likes