[go: up one dir, main page]

Page MenuHomePhabricator

Special:Upload TypeError: Cannot read properties of undefined (reading 'isConnected')
Closed, ResolvedPublicBUG REPORT

Description

New error that began on August 3rd.
https://logstash.wikimedia.org/goto/0cfa5849080bf95b9114576a9ab74586
178 errors in last 24hrs

at https://commons.wikimedia.org/w/load.php?lang=deownwork&modules=ext.3d.special.upload%7Cext.centralNotice.geoIP%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.charinsert%2CeventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.echo.api%2Cinit%7Cext.tmh.OgvJsSupport%2Cplayer%7Cext.uls.common%2Ccompactlinks%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.specialPages%2Cwikibase%7Cjquery%2Coojs%2Csite%7Cjquery.client%2ClengthLimit%2Cspinner%2CtextSelection%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cexperiments%2Chtmlform%2CjqueryMsg%2Clanguage%2Cspecial%2Cstorage%2Ctemplate%2Cuser%2Cutil%2CvisibleTimeout%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.special.upload%7Cskins.vector.legacy.js&skin=vector&version=miz6t:531:1100
at Object.fire  https://commons.wikimedia.org/w/load.php?lang=deownwork&modules=ext.3d.special.upload%7Cext.centralNotice.geoIP%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.charinsert%2CeventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.echo.api%2Cinit%7Cext.tmh.OgvJsSupport%2Cplayer%7Cext.uls.common%2Ccompactlinks%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.specialPages%2Cwikibase%7Cjquery%2Coojs%2Csite%7Cjquery.client%2ClengthLimit%2Cspinner%2CtextSelection%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cexperiments%2Chtmlform%2CjqueryMsg%2Clanguage%2Cspecial%2Cstorage%2Ctemplate%2Cuser%2Cutil%2CvisibleTimeout%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.special.upload%7Cskins.vector.legacy.js&skin=vector&version=miz6t:413:816
at Object.setWarning  https://commons.wikimedia.org/w/load.php?lang=deownwork&modules=ext.3d.special.upload%7Cext.centralNotice.geoIP%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.charinsert%2CeventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.echo.api%2Cinit%7Cext.tmh.OgvJsSupport%2Cplayer%7Cext.uls.common%2Ccompactlinks%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.specialPages%2Cwikibase%7Cjquery%2Coojs%2Csite%7Cjquery.client%2ClengthLimit%2Cspinner%2CtextSelection%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cexperiments%2Chtmlform%2CjqueryMsg%2Clanguage%2Cspecial%2Cstorage%2Ctemplate%2Cuser%2Cutil%2CvisibleTimeout%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.special.upload%7Cskins.vector.legacy.js&skin=vector&version=miz6t:540:196
at https://commons.wikimedia.org/w/load.php?lang=deownwork&modules=ext.3d.special.upload%7Cext.centralNotice.geoIP%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.charinsert%2CeventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.echo.api%2Cinit%7Cext.tmh.OgvJsSupport%2Cplayer%7Cext.uls.common%2Ccompactlinks%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.specialPages%2Cwikibase%7Cjquery%2Coojs%2Csite%7Cjquery.client%2ClengthLimit%2Cspinner%2CtextSelection%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cexperiments%2Chtmlform%2CjqueryMsg%2Clanguage%2Cspecial%2Cstorage%2Ctemplate%2Cuser%2Cutil%2CvisibleTimeout%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.special.upload%7Cskins.vector.legacy.js&skin=vector&version=miz6t:540:1
at mightThrow  https://commons.wikimedia.org/w/load.php?lang=deownwork&modules=ext.3d.special.upload%7Cext.centralNotice.geoIP%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.charinsert%2CeventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.echo.api%2Cinit%7Cext.tmh.OgvJsSupport%2Cplayer%7Cext.uls.common%2Ccompactlinks%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.specialPages%2Cwikibase%7Cjquery%2Coojs%2Csite%7Cjquery.client%2ClengthLimit%2Cspinner%2CtextSelection%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cexperiments%2Chtmlform%2CjqueryMsg%2Clanguage%2Cspecial%2Cstorage%2Ctemplate%2Cuser%2Cutil%2CvisibleTimeout%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.special.upload%7Cskins.vector.legacy.js&skin=vector&version=miz6t:206:881
at process  https://commons.wikimedia.org/w/load.php?lang=deownwork&modules=ext.3d.special.upload%7Cext.centralNotice.geoIP%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.charinsert%2CeventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.echo.api%2Cinit%7Cext.tmh.OgvJsSupport%2Cplayer%7Cext.uls.common%2Ccompactlinks%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.specialPages%2Cwikibase%7Cjquery%2Coojs%2Csite%7Cjquery.client%2ClengthLimit%2Cspinner%2CtextSelection%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cexperiments%2Chtmlform%2CjqueryMsg%2Clanguage%2Cspecial%2Cstorage%2Ctemplate%2Cuser%2Cutil%2CvisibleTimeout%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.special.upload%7Cskins.vector.legacy.js&skin=vector&version=miz6t:207:544

Event Timeline

Apparently mediawiki.special.upload sometimes fires the hook on an empty jQuery collection. I guess it works with everything else…

Change 947938 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/core@master] Avoid errors when 'wikipage.content' hook fired with nothing

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

Change 947938 merged by jenkins-bot:

[mediawiki/core@master] Avoid errors when 'wikipage.content' hook fired with nothing

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