Page MenuHomePhabricator

TypeError: undefined is not an object (evaluating 'dialog.mediaUploadBooklet.setFile')
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: n/a

message
TypeError: undefined is not an object (evaluating 'dialog.mediaUploadBooklet.setFile')

Stack trace is not very useful, I'm hoping the error alone is enough to debug this one.

exception.trace
at URL1:1206:971
at mightThrow URL2:49:154
at URL2:49:818

Impact

Error seen on the mobile editor in Mobile Safari (Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Safari/604.1)
https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2020.09.03/clienterror/?id=AXRTnAhlNoG2jwpw8LS1

Notes

Details

Request ID
undefined
Request URL
https://fr.m.wikipedia.org/wiki/Liste_des_champions_du_monde_de_boxe_actuels#/editor/12

Event Timeline

Krinkle triaged this task as High priority.EditedSep 16 2020, 6:57 PM
Krinkle updated the task description. (Show Details)
Krinkle edited Stack Trace. (Show Details)
Krinkle moved this task from Older to Sep 2020 on the Wikimedia-production-error board.
Krinkle changed Request URL from n/a to https://fr.m.wikipedia.org/wiki/Liste_des_champions_du_monde_de_boxe_actuels#/editor/12.
Krinkle subscribed.

Added stack trace and URL. Looks these are happening while using the mobile editor, which indeed matches what we knew based on the user agent.

Umherirrender subscribed.

It seems the code was moved around in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/631832 - T264441: Media dialog shows nothing while loading

And now there is no dialog.mediaUploadBooklet.setFile anymore