https://bugzilla.wikimedia.org/show_bug.cgi?id=53445
Web browser: ---
Bug ID: 53445
Summary: Metadata information missing from transaction when
content is inserted.
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Data Model
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
The final case in ve.dm.Document.getMetadataReplace() applies if insert.length
> remove.length. But in this case only the 'retain' and 'insert' fields are
set on the returned object. In ve.dm.Transaction.pushReplace() we only add the
{retain,remove,insert}Metadata fields to the operation if the 'remove' field on
the object returned from getMetadataReplace() is not undefined. So these
fields won't be set correctly if insert.length > remove.length.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l