When you delete whole existing category which was already assigned to some role it will still remain on users account as tab-link but the actual address won't be functional.

If anybody stumbles upon this problem it could be fixed be recreating the category, then removing it from categories assigned to roles and then removing it again.

CommentFileSizeAuthor
#1 541822-delete-category.patch8.17 KBboombatower

Comments

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Active » Needs review
StatusFileSize
new8.17 KB

Added code to prune the orphaned records and revamp test case to test for the bug.

boombatower’s picture

Title: Deleting category » Deleting category leaves orphaned records
Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.