Page MenuHomePhabricator

VisualEditor: [Regression wmf4] "Uncaught TypeError: Cannot read property 'resolve' of null" when applying language annotation to an image, the inspector remains open
Closed, ResolvedPublic

Description

JS error in test2

Environment- test2

1> In VE,insert a media to a blank page with any settings, but without captions.

2> highglight the image and then select the language from toolbar, the inspector opens on top of the image. JS error in console- "Uncaught TypeError: Cannot read property 'resolve' of null". clicking on done or Remove does not close the inspector.

In beta , the inspector does not open when an image is highlighted.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=72258

Attached:

s.PNG (1×2 px, 82 KB)

Details

Reference
bz72259

Event Timeline

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

Almost certainly the same flaw as bug 72258.

gerritadmin wrote:

Change 168021 had a related patch set uploaded by Catrope:
Prevent JS error in getNativeRange()

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

gerritadmin wrote:

Change 168021 merged by jenkins-bot:
Prevent JS error in getNativeRange()

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