Last modified: 2014-10-09 20:12:27 UTC
Created attachment 16633 [details] screenshot 1 Environment- test2, beta 1> In VE, go to Options -> Categories. And add two categories. 2> Now delete the categories.Click on “Cancel” to close the options dialog. 3> Error in console, “Uncaught TypeError: Cannot read property 'disconnect' of undefined”(see screenshot 1) After this step, reopen the Options dialog , notice the first Category is repeated( see screenshot 2). Trying to delete any of the categories throws errors in console “Uncaught Error: Cannot remove detached item” and “Uncaught TypeError: Cannot read property 'metaItem' of undefined”.Clicking on Cancel or Apply changes does not close the dialog.
Created attachment 16634 [details] screenshot 2
Change 163887 had a related patch set uploaded by Catrope: Account for categories being removed twice in MWCategoryWidget https://gerrit.wikimedia.org/r/163887
Change 163887 merged by jenkins-bot: Account for categories being removed twice in MWCategoryWidget https://gerrit.wikimedia.org/r/163887
Change 164018 had a related patch set uploaded by Jforrester: Account for categories being removed twice in MWCategoryWidget https://gerrit.wikimedia.org/r/164018
Change 164018 merged by Catrope: Account for categories being removed twice in MWCategoryWidget https://gerrit.wikimedia.org/r/164018
Verified the fix in test2
Issue is now fixed in beta too.
Verified the fix in production