Page MenuHomePhabricator

TypeError: nextItem is null at onQueryKeydown
Closed, ResolvedPublic

Description

at OO.ui.SearchWidget.prototype.onQueryKeydown URL1:425:458
at jQuery.event.dispatch URL1:69:669
at jQuery.event.add/elemData.handle URL1:66:366

URL1: https://commons.m.wikimedia.org/w/load.php?lang=en&modules=dataValues%2Cjquery%2Coojs%2Coojs-router%2Coojs-ui-core%2Coojs-ui-widgets%2Coojs-ui-windows%2Csite%2Cwikibase%7CdataValues.DataValue%2CTimeValue%2Cvalues%7Cext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CkvStore%2CstartUp%7Cext.centralauth.ForeignApi%2Ccentralautologin%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.uls.common%2Ci18n%2Clanguagenames%2Cmediawiki%2Cmessages%7Cext.wikimediaEvents.wikibase%7Cjquery.client%2Ccookie%2Ci18n%2CtextSelection%2Cthrottle-debounce%2Culs%7Cjquery.uls.data%2Cgrid%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Crouter%2Cstorage%2Ctemplate%2Cuser%2Cutil%2Cviewport%7Cmediawiki.ForeignApi.core%7Cmediawiki.action.edit.editWarning%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.mustache%2Cmustache%2Bdom%7Cmediawiki.ui.anchor%7Cmobile.init%2Cstartup%7Cmobile.messageBox.styles%7Cmobile.ooui.icons%7Cmobile.pagelist.styles%7Cmobile.pagesummary.styles%7Cmobile.placeholder.images%7Cmobile.startup.images%7Cmw.config.values.wbDataTypes%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui-widgets.icons%7Coojs-ui-windows.icons%7Coojs-ui.styles.icons-editing-core%2Cicons-interactions%2Cicons-location%2Cicons-movement%2Cindicators%7Cskins.minerva.icons.images.scripts%7Cskins.minerva.icons.images.scripts.misc%7Cskins.minerva.icons.page.issues.default.color%7Cskins.minerva.icons.page.issues.medium.color%7Cskins.minerva.icons.page.issues.uncolored%7Cskins.minerva.options%2Cscripts%7Cuser.defaults%7Cutil.inherit%7Cwikibase.api.RepoApi%7Cwikibase.datamodel%2Cmobile%2Cserialization%7Cwikibase.entityPage.entityLoaded%7Cwikibase.mediainfo.base%2CfilePageDisplay%2Csearch%2Cstatements%2Culs%7Cwikibase.utilities.ClaimGuidGenerator&skin=minerva&version=1ijo6

Event Timeline

matmarex added a subscriber: matmarex.

To reproduce: open VisualEditor, go to Insert → Images and media, search for some text that gives zero results, then press the up or down arrow key.

Change 671193 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[oojs/ui@master] SearchWidget: Fix exception when there are no results

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

Change 671193 merged by jenkins-bot:
[oojs/ui@master] SearchWidget: Fix exception when there are no results

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

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

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

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

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

Volker_E triaged this task as High priority.
Volker_E moved this task from Backlog to OOUI-0.41.3 on the OOUI board.
Volker_E edited projects, added OOUI (OOUI-0.41.3); removed OOUI.