Page MenuHomePhabricator

VisualEditor: Any transaction which results in metadata being merged won't rollback cleanly
Closed, ResolvedPublic

Description

Take the document:

<!-- meta -->content<!-- data -->

If you remove all of "content", the two comments now have to share an offset in the metadata array but this process is not recorded in the transaction. As a result, when the commit is rolled-back the comments aren't re-split so the resulting doc is:

content<!-- meta --><!-- data -->


Version: unspecified
Severity: normal

Details

Reference
bz46954