[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Editor breaks when removing certain tables (TreeModifier error)
Closed, DuplicatePublic

Assigned To
None
Authored By
Krinkle
Oct 3 2019, 11:21 PM
Referenced Files
F30538859: cap2.png
Oct 3 2019, 11:21 PM
F30538860: cap1.png
Oct 3 2019, 11:21 PM
Subscribers

Description

Steps to reproduce:

  1. https://www.mediawiki.org/w/index.php?title=Compatibility/de&oldid=3440811
  2. Edit.
  3. Select the second cell of the Desktop support table.
  4. Tap on the "Delete" button in the interface.
cap1.png (1×2 px, 212 KB)
cap2.png (1×2 px, 359 KB)
VM86:138 Uncaught Error: Expected [{"type":"mwReference","attributes":{"listIndex":0,"listGroup":"mwReference/","listKey":"auto/0","refGroup":"","refListItemId":"mw-reference-text-cite_note-5"}},{"type":"/mwReference"}] but got [{"type":"mwReference","attributes":{"mw":{"name":"ref","attrs":{},"body":{"id":"mw-reference-text-cite_note-5"}},"listIndex":0,"listGroup":"mwReference/","listKey":"auto/0","refGroup":"","contentsUsed":true,"refListItemId":"mw-reference-text-cite_note-5"}},{"type":"/mwReference"}]
    at checkEqual
    at Object.ve.dm.TreeModifier.static.applyTreeOperation
    at Object.ve.dm.TreeModifier.static.applyTreeOperations
    at VeDmTreeModifier.ve.dm.TreeModifier.process
    at VeDmTransactionProcessor.ve.dm.TransactionProcessor.process
    at VeDmDocument.ve.dm.Document.commit
    at VeDmSurface.ve.dm.Surface.changeInternal
    at VeDmSurface.ve.dm.Surface.change
    at VeDmSurfaceFragment.ve.dm.SurfaceFragment.change
    at VeDmSurfaceFragment.ve.dm.SurfaceFragment.delete