Last modified: 2014-11-05 22:30:30 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 T74492, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72492 - VisualEditor: [Regression pre-wmf6] "TypeError: Cannot read property 'isDefault' of undefined" appears when Media Settings dialog appears while adding a new image
VisualEditor: [Regression pre-wmf6] "TypeError: Cannot read property 'isDefau...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2014-10-29 (1.25wmf6)
Assigned To: Moriel Schottlender
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-24 20:12 UTC by Rummana Yasmeen
Modified: 2014-11-05 22:30 UTC (History)
6 users (show)

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


Attachments
Screenshot (174.08 KB, image/png)
2014-10-24 20:12 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-10-24 20:12:09 UTC
Created attachment 16889 [details]
Screenshot

Steps to reproduce:

1.Open a page with VE
2.Go to Insert>Media
3.Search for any image and select one 

Observed Result:
As soon as you select any image and the Media Settings dialog appears,the following error appears in the console

Uncaught TypeError: Cannot read property 'isDefault' of undefined
Comment 1 Gerrit Notification Bot 2014-10-24 20:20:12 UTC
Change 168675 had a related patch set uploaded by Mooeypoo:
Make sure initialHash exists before checking its value

https://gerrit.wikimedia.org/r/168675
Comment 2 Gerrit Notification Bot 2014-10-27 03:25:13 UTC
Change 168675 merged by jenkins-bot:
Make sure initialHash exists before checking its value

https://gerrit.wikimedia.org/r/168675
Comment 3 Rummana Yasmeen 2014-10-27 18:05:53 UTC
Verified the fix in Betalabs
Comment 4 Rummana Yasmeen 2014-11-05 22:30:30 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