Page MenuHomePhabricator

VisualEditor: [Regression pre-wmf6] "TypeError: Cannot read property 'isDefault' of undefined" appears when Media Settings dialog appears while adding a new image
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-10-24_at_12.59.29_PM.png (679×1 px, 174 KB)

Details

Reference
bz72492

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:48 AM
bzimport set Reference to bz72492.

gerritadmin wrote:

Change 168675 had a related patch set uploaded by Mooeypoo:
Make sure initialHash exists before checking its value

https://gerrit.wikimedia.org/r/168675

gerritadmin wrote:

Change 168675 merged by jenkins-bot:
Make sure initialHash exists before checking its value

https://gerrit.wikimedia.org/r/168675

Verified the fix in production