Page MenuHomePhabricator

visualeditor-q3VisualEditor: Open formula inspector breaks when clicking onto a link/reference/image/template/…
Closed, ResolvedPublic1 Estimated Story Points

Description

Empty inspector

Steps to reproduce:

1.Click on the Edit button
2.Click on More>LaTeX
3.Type something on the dialog box
4.While keeping this dialog box open , Click on More>Reference
5.Add something as reference
6.Click the button "Insert Reference"

Observed Result:
A blank inspector comes up which also does not get closed unless user reopens the editor

See the screenshot attached.


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

Attached:

Screen_Shot_2013-11-05_at_3.55.44_PM.png (531×637 px, 61 KB)

Details

Reference
bz56644

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:42 AM
bzimport set Reference to bz56644.
  • Bug 60801 has been marked as a duplicate of this bug. ***
  • Bug 63783 has been marked as a duplicate of this bug. ***

This is not fixed in Betalabs or Test 2.I can still reproduce this one on both the environments.

Not for me still though,I am giving the steps again :

1.Open the editor
2.Open the math inspector
3.Put the cursor inside the inspector and type something in it
4.While keeping the math inspector open , go to Insert>Reference
5.Type something in the reference dialog box and click on Insert Reference

Observed Result:
The following error appears in the console and a blank inspector shows up:

Uncaught Error: Cannot set attributes to non-element data

See the latest screenshot.

Working fine locally and on beta labs with a blank page. Chrome && FF

Indeed; but not on a non-blank page.

Minimum test:

  • Open VE on new (blank) page
  • Enter "a", <return>
  • Insert > Formula; enter "1=1"
  • Insert > Reference; enter "a"

Voilà.

  • Bug 64915 has been marked as a duplicate of this bug. ***
Jdforrester-WMF renamed this task from VisualEditor: Open formula inspector breaks when clicking onto a link/reference/image/template/… to visualeditor-q3VisualEditor: Open formula inspector breaks when clicking onto a link/reference/image/template/….Aug 5 2015, 12:22 AM