Page MenuHomePhabricator

Uncaught TypeError: Cannot read property 'getMainText' of null (TypeError: config.title is null)
Open, MediumPublicPRODUCTION ERROR

Details

Request ID
undefined
Request URL
https://commons.wikimedia.org/wiki/Special:UploadWizard
Stack Trace
exception.trace
at new MWWCategoryTagItemWidget  https://commons.wikimedia.org/w/load.php?lang=it&modules=...&skin=vector&version=wget3:1220:230
at MWCategoryMultiselectWidget.mw.widgets.CategoryMultiselectWidget.createTagItemWidget  https://commons.wikimedia.org/w/load.php?lang=it&modules=...&skin=vector&version=wget3:1224:281
at MWCategoryMultiselectWidget.UWCategoriesDetailsWidget.categoriesWidget.createTagItemWidget  https://commons.wikimedia.org/w/load.php?lang=it&modules=ext.uploadWizard%7Cext.uploadWizard.page&skin=vector&version=1gdgm:125:942
at MWCategoryMultiselectWidget.OO.ui.TagMultiselectWidget.addTag  https://commons.wikimedia.org/w/load.php?lang=it&modules=...&skin=vector&version=wget3:507:429
at MWCategoryMultiselectWidget.OO.ui.TagMultiselectWidget.addTagFromInput  https://commons.wikimedia.org/w/load.php?lang=it&modules=...&skin=vector&version=wget3:506:6
at MWCategoryMultiselectWidget.OO.ui.TagMultiselectWidget.onInputBlur  https://commons.wikimedia.org/w/load.php?lang=it&modules=...&skin=vector&version=wget3:503:267
at HTMLInputElement.dispatch  https://commons.wikimedia.org/w/load.php?lang=it&modules=...&skin=vector&version=wget3:69:742
at HTMLInputElement.elemData.handle  https://commons.wikimedia.org/w/load.php?lang=it&modules=...&skin=vector&version=wget3:66:388

Event Timeline

Jdlrobson created this task.Sep 9 2020, 7:43 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 9 2020, 7:43 PM
Jdlrobson renamed this task from Uncaught TypeError: Cannot read property 'getMainText' of null to Uncaught TypeError: Cannot read property 'getMainText' of null (TypeError: config.title is null).Sep 14 2020, 9:26 PM
MarkTraceur triaged this task as Medium priority.Nov 2 2020, 6:14 PM
MarkTraceur added a subscriber: MarkTraceur.

Notes from a quick perusal of logstash: ~60 of these errors in the past 7 days, so not exactly a universal occurrence but not completely uncommon either. Unclear what effect this might have on the UI or if the users were able to circumvent the error somehow...in any case, I suspect this is something changing somewhere upstream and us needing to update the UW code. I feel like we've seen this bug before as well, but can't recall what exactly the issue was.

Marking as medium for now, but not sure whether this is severe enough for us to jump on it immediately (especially given likely disruptions throughout this month)

Jdlrobson added a comment.EditedNov 2 2020, 6:18 PM

Notes from a quick perusal of logstash: ~60 of these errors in the past 7 days, so not exactly a universal occurrence but not completely uncommon either.

Note that this data does not currently include English Wikipedia (not sure if that's relevant here).

Note that this data does not currently include English Wikipedia (not sure if that's relevant here).

Well, UploadWizard isn't enabled on enwp so that makes sense :)