Page MenuHomePhabricator

Uncaught Error: Offset lies inside child of strange size
Closed, ResolvedPublic

Description

https://logstash.wikimedia.org/app/kibana#/context/logstash-*/clienterror/AXOa0c4iNoG2jwpwBI3q?_a=h@2d4bdf1&_g=h@1251ff0

Uncaught Error: Offset lies inside child of strange size
at VeCeDocument.ve.ce.Document.getNodeAndOffset  URL1:368:583
at VeCeSurface.ve.ce.Surface.annotationsAtModelSelection  URL1:496:215
at VeCeSurface.ve.ce.Surface.onDocumentMouseDown  URL1:436:739
at HTMLDivElement.dispatch  URL2:124:742
at HTMLDivElement.elemData.handle  URL2:121:388

URL1: https://ca.wikipedia.org/w/load.php?lang=ca&modules=ext.visualEditor.core%2Cmediawiki&skin=vector&version=1aqte
URL2: https://ca.wikipedia.org/w/load.php?lang=ca&modules=ext.eventLogging%2CwikimediaEvents%7Cext.uls.common%2Ccompactlinks%2Cinterface%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.tablesorter.styles%7Cjquery.uls.data%7Cmediawiki.base%2Cwidgets%7Cmediawiki.ui.button%7Cmw.cx.init.Translation%7Cmw.cx.tools.IssueTrackingTool%7Cmw.cx.ui.Categories%2CHeader%2CInfobar%2CPageTitleWidget%2CTranslationToolWidget%2CTranslationView%7Coojs-ui-core.icons%7Coojs-ui-toolbars.icons%7Coojs-ui-widgets.icons%7Coojs-ui-windows.icons%7Coojs-ui.styles.icons-accessibility%2Cicons-content%2Cicons-editing-advanced%2Cicons-editing-core%2Cicons-interactions%2Cicons-user%2Cicons-wikimedia%2Cindicators%7Cve.ui.CXDesktopContext&skin=vector&version=1ymci

Event Timeline

The Editing Team is assuming that the Language Team will look into this. If we've assumed incorrectly, please let us know.

Change 628076 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Catch errors from getNodeAndOffset in annotationsAtModelSelection

https://gerrit.wikimedia.org/r/628076

I'm going to fix this group of tasks with a try/catch in annotationsAtModelSelection, so no further action needed.

Change 628076 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Catch errors from getNodeAndOffset in annotationsAtModelSelection

https://gerrit.wikimedia.org/r/628076

Change 628077 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (53af216aa)

https://gerrit.wikimedia.org/r/628077

Change 628077 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (53af216aa)

https://gerrit.wikimedia.org/r/628077

matmarex added a subscriber: matmarex.

Instead of QA, we should check the logs to confirm this error has disappeared after the patches are deployed.

This seems to be still happening :/

Change 640091 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[VisualEditor/VisualEditor@master] Catch errors from getNodeAndOffset in ve.ce.Surface#focus

https://gerrit.wikimedia.org/r/640091

Change 640091 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Catch errors from getNodeAndOffset in ve.ce.Surface#focus

https://gerrit.wikimedia.org/r/640091

Change 641268 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (8b37f95f1)

https://gerrit.wikimedia.org/r/641268

Change 641268 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (8b37f95f1)

https://gerrit.wikimedia.org/r/641268