https://bugzilla.wikimedia.org/show_bug.cgi?id=55985

James Forrester <jforres...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |High
             Status|NEW                         |ASSIGNED
                 CC|                            |jh...@wikimedia.org,
                   |                            |roan.katt...@gmail.com,
                   |                            |ryasm...@wikimedia.org,
                   |                            |tpars...@wikimedia.org
          Component|General                     |Data Model
           Assignee|jforres...@wikimedia.org    |esand...@wikimedia.org
            Summary|Failure to bring up save    |MWTransclusionNode.static.t
                   |dialog, addition of navbox  |oDomElements throwing
                   |                            |Object [object Text] has no
                   |                            |method 'setAttribute'

--- Comment #3 from James Forrester <jforres...@wikimedia.org> ---
This bug's symptoms are because it's throwing a fatal JS error (this is why
nothing works once the bug happens – you can't save, you can't switch to source
mode, you can't do anything).

The bug occurs when the transclusion is converted to Parsoid HTML.

Trace:

Uncaught TypeError: Object [object Text] has no method 'setAttribute' 

ve.dm.MWTransclusionNode.js:118
ve.dm.MWTransclusionNode.static.toDomElements ve.dm.MWTransclusionNode.js:118
ve.dm.Converter.getDomElementsFromDataElement ve.dm.Converter.js:340
ve.dm.Converter.getDomSubtreeFromData ve.dm.Converter.js:1461
ve.dm.Converter.getDomSubtreeFromModel ve.dm.Converter.js:1096
ve.dm.Converter.getDomFromModel ve.dm.Converter.js:1078
ve.init.mw.ViewPageTarget.showSaveDialog ve.init.mw.ViewPageTarget.js:1078
ve.init.mw.ViewPageTarget.onToolbarSaveButtonClick
ve.init.mw.ViewPageTarget.js:624
oo.EventEmitter.emit oojs.js:593
OO.ui.ButtonWidget.onClick oojs-ui.js:4246

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to