Last modified: 2014-10-09 20:12:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73471, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71471 - VisualEditor: [Regression wmf1] Adding categories, removing them, then cancelling the dialog throws “Uncaught TypeError: Cannot read property 'disconnect' of undefined”
VisualEditor: [Regression wmf1] Adding categories, removing them, then cancel...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal minor
: VE-deploy-2014-10-02
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-30 15:49 UTC by Ritu Swain
Modified: 2014-10-09 20:12 UTC (History)
7 users (show)

See Also:
Web browser: Google Chrome
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screenshot 1 (112.17 KB, image/png)
2014-09-30 15:49 UTC, Ritu Swain
Details
screenshot 2 (82.55 KB, image/png)
2014-09-30 15:49 UTC, Ritu Swain
Details

Description Ritu Swain 2014-09-30 15:49:31 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.
Comment 1 Ritu Swain 2014-09-30 15:49:59 UTC
Created attachment 16634 [details]
screenshot 2
Comment 2 Gerrit Notification Bot 2014-09-30 18:14:52 UTC
Change 163887 had a related patch set uploaded by Catrope:
Account for categories being removed twice in MWCategoryWidget

https://gerrit.wikimedia.org/r/163887
Comment 3 Gerrit Notification Bot 2014-09-30 22:10:34 UTC
Change 163887 merged by jenkins-bot:
Account for categories being removed twice in MWCategoryWidget

https://gerrit.wikimedia.org/r/163887
Comment 4 Gerrit Notification Bot 2014-10-01 01:30:02 UTC
Change 164018 had a related patch set uploaded by Jforrester:
Account for categories being removed twice in MWCategoryWidget

https://gerrit.wikimedia.org/r/164018
Comment 5 Gerrit Notification Bot 2014-10-01 22:42:22 UTC
Change 164018 merged by Catrope:
Account for categories being removed twice in MWCategoryWidget

https://gerrit.wikimedia.org/r/164018
Comment 6 Rummana Yasmeen 2014-10-03 18:48:02 UTC
Verified the fix in test2
Comment 7 Ritu Swain 2014-10-06 15:36:57 UTC
Issue is now fixed in beta too.
Comment 8 Rummana Yasmeen 2014-10-09 20:12:19 UTC
Verified the fix in production
Comment 9 Rummana Yasmeen 2014-10-09 20:12:27 UTC
Verified the fix in production

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links