Page MenuHomePhabricator

VisualEditor: Switching insertion types for inspectable notes (e.g. hiero, formula, gallery) mid-creation breaks entertainingly
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with VE
2.Add a math function from Insert>Formula for example \pi
3.While the added math formula is still selected go to Insert>Hiero
4.Observe that the math function previously added is now appearing in hiero inspector.
5.Close the inspector for hiero
6.Save the page

Observed Result:
A hiero tag got added in the wikitext as <hiero>\pi</hiero>

See the screenshot attached

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/w/index.php?title=Wmf11&veaction=edit


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-01-16_at_12.10.39_PM.png (215×376 px, 14 KB)

Details

Reference
bz60148

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:00 AM
bzimport set Reference to bz60148.

When you "switch" inspectors the content of the first inspector is inserted, but a new inspector isn't created (so the content of the first is also available for the new one).

Can't reproduce, might have been fixed by https://gerrit.wikimedia.org/r/#/c/111178/ ? Please test again.

Can not reproduce from my end as well.Closing the bug.