Page MenuHomePhabricator

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


Try and edit this version of my sandbox 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



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

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

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