Page MenuHomePhabricator

VisualEditor: VE won't load on empty page containing only a magic word
Closed, ResolvedPublic

Description

Try and edit this version of my sandbox http://it.wikipedia.org/w/index.php?title=Utente:Elitre_(WMF)/Sandbox&oldid=59706098 which is empty except for a NOINDEX ; VE just keeps loading and won't allow to edit. Happens at least with Vector on Chrome and Monobook on FF.


Version: unspecified
Severity: normal

Details

Reference
bz50289

Event Timeline

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

This happens because the converter generates a document with only an alienMeta (the magic word) and an empty internal list. The logic for generating an empty paragraph to prevent an empty document doesn't kick in if the document is non-empty from the converter's perspective but only contains meta items.

Change 73745 had a related patch set uploaded by Esanders:
Extend empty document check to check for meta-only data

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

Change 73745 merged by jenkins-bot:
Extend empty document check to check for meta-only data

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

Fixed in the above commit, which we will push out today.