Page MenuHomePhabricator

VisualEditor: VE stops responding while opening Media Settings for an image that contains another image
Closed, ResolvedPublic

Description

Screenshot of the error

Steps to reproduce:

1.Open a page with VE
2.Add an image in the page
3.Open the Media Settings for that image
4.Insert another image inside it.
5.Apply Changes
6.Save the page
7.Reopen the page again
8.Open the media settings again for the image on the page

Observed Result:
VE stops reposnding.Cannot cross out the dialog box."Apply Changes" does not close the dialog box.
An error appears in the console
Error: Offset could not be translated to a DOM element and offset: 22

(297 out of range 182)

Test Environment: https://test2.wikipedia.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5
Page:https://test2.wikipedia.org/wiki/3rdfebFF?veaction=edit

See the screenshot attached,


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-02-03_at_2.36.34_PM.png (635×1 px, 225 KB)

Details

Reference
bz60796

Event Timeline

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

This error also appears when you delete the reflist that contains a reference which has image inside:

Error: Offset could not be translated to a DOM element and offset: 31

(297 out of range 182)

Change 111690 had a related patch set uploaded by Catrope:
Make globalOverlay really global

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

Change 111690 merged by jenkins-bot:
Make globalOverlay really global

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

Change 111694 had a related patch set uploaded by Catrope:
Make globalOverlay really global

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

Change 111694 abandoned by Catrope:
Make globalOverlay really global

Reason:
Wrong branch

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

Change 111695 had a related patch set uploaded by Catrope:
Make globalOverlay really global

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

Change 111695 merged by jenkins-bot:
Make globalOverlay really global

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