Page MenuHomePhabricator

TypeError: element is undefined (from OO.ui.mixin.AccessKeyedElement)
Closed, ResolvedPublic

Description

example
Logstash

Occurred on https://ca.wikipedia.org/w/index.php?title=Plantilla:Infotaula_eleccions/presentablocs&action=submit
I can trace this to the VisualEditor method to OO.ui.mixin.AccessKeyedElement.prototype.formatTitleWithAccessKey which appears to be calling getAccessKeyLabel with an undefined element.

TypeError: element is undefined

at getAccessKeyLabel URL1:1612:765
at OO.ui.mixin.AccessKeyedElement.prototype.formatTitleWithAccessKey URL1:859:838
at OO.ui.mixin.TitledElement.prototype.updateTitle URL1:858:259
at OoUiMixinAccessKeyedElement URL1:858:724
at OoUiInputWidget URL1:934:781
at OoUiTextInputWidget URL1:953:980
at OO.ui.Element.static.unsafeInfuse URL1:825:492
at OO.ui.Element.static.infuse URL1:823:285
at OO.ui.infuse URL1:819:885
at URL1:1637:767
at mightThrow URL1:594:149
at resolve/</process< URL1:594:808

Event Timeline

Jdlrobson renamed this task from TypeError: element is undefined to TypeError: element is undefined (getAccessKeyLabel).Aug 3 2020, 3:43 PM
Jdlrobson updated the task description. (Show Details)

Change 621327 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[oojs/ui@master] InputWidget: Fix infusion when something removes the 'oo-ui-inputWidget-input' class

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

Change 621327 merged by jenkins-bot:
[oojs/ui@master] InputWidget: Fix infusion when something removes the 'oo-ui-inputWidget-input' class

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

I can reopen if I see the issue reoccur after Wednesday next week

Change 621711 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/core@master] Update OOUI to v0.40.2

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

Change 621989 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[oojs/ui@master] Fix the removing of windows being broken by this scoping issue

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

Change 621989 merged by jenkins-bot:
[oojs/ui@master] Follow-up I669cfeeb: Fix the removing of windows being broken by this scoping issue

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

Change 623824 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] Update OOUI to v0.40.3

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

Change 621711 abandoned by Reedy:
[mediawiki/core@master] Update OOUI to v0.40.2

Reason:
Replaced by https://gerrit.wikimedia.org/r/c/mediawiki/core/ /623824

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

Change 623824 merged by jenkins-bot:
[mediawiki/core@master] Update OOUI to v0.40.3

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

Krinkle renamed this task from TypeError: element is undefined (getAccessKeyLabel) to TypeError: element is undefined (from OO.ui.mixin.AccessKeyedElement).Sep 22 2020, 12:41 AM
Krinkle updated the task description. (Show Details)
matmarex closed this task as Resolved.EditedSep 22 2020, 7:42 PM

Looks fixed. Here's a cute chart of errors containing "element is undefined": https://logstash.wikimedia.org/goto/97d07a09a0d009f3bc329af0d995091c

image.png (1×2 px, 107 KB)

The last results are on 2020-09-17 (last Thursday), then nothing.