Page MenuHomePhabricator

VisualEditor: Cannot save a page after adding gallery to a page
Closed, ResolvedPublic


Screenshot of the error

Steps to reproduce:

1.Open a page with VE
2.Add a gallery from Insert>Gallery or just simply close the inspector without adding anything.
3.Click on the "Save Page" button

Observed Result:

The page cannot be saved.

An error appears in the console:
Uncaught Error: InvalidCharacterError: DOM Exception 5

See the screenshot attached.

Test Environment:
Browser: Chrome Version 26.0.1410.65
OS: MAC OS X 10. 8. 5

Version: unspecified
Severity: normal


Screen_Shot_2014-01-21_at_10.45.24_AM.png (631×1 px, 108 KB)



Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 2:53 AM
bzimport set Reference to bz60307.

cmitasch wrote:

I can confirm the behaviour. It does not work in Chrome but it is working with Firefox 26.0.

Change 109759 had a related patch set uploaded by Catrope:
Add .tagName to MWGalleryNode

Change 109759 merged by jenkins-bot:
Add tagName to

Verified the fix in and test2

Change 110826 had a related patch set uploaded by Jforrester:
Add tagName to

Change 110826 merged by jenkins-bot:
Add tagName to