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



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




Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:48 AM
bzimport set Reference to bz72492.
Ryasmeen created this task.Oct 24 2014, 8:12 PM

gerritadmin wrote:

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

gerritadmin wrote:

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

Verified the fix in Betalabs

Verified the fix in production