Page MenuHomePhabricator

Cannot read property 'disabled' of undefined / Cannot read properties of undefined (reading 'disabled')
Closed, DuplicatePublicBUG REPORT

Description

What happens?:
A client error occurs on https://commons.m.wikimedia.org/wiki/Special:MediaSearch?title=Special:MediaSearch&search=

Example:
https://logstash.wikimedia.org/app/dashboards#/doc/logstash-*/logstash-2021.09.30?id=Lu2-N3wBf67HOmRfV_go

t a.selectTab  https://commons.m.wikimedia.org/w/load.php?lang=en&modules=jquery%2Cmediasearch&skin=minerva&version=hcynt:172:94
at active  https://commons.m.wikimedia.org/w/load.php?lang=en&modules=jquery%2Cmediasearch&skin=minerva&version=hcynt:173:338
at fn.run  <anonymous>:225:738
at un  <anonymous>:223:749
at Array.<anonymous>  <anonymous>:210:430
at qe  <anonymous>:209:830

Event Timeline

SimoneThisDot added a subscriber: SimoneThisDot.

Please find below the initial investigation and also fix that is already being implemented

The fix for the issue is already being implemented as part of another refactoring ticket https://phabricator.wikimedia.org/T291392.

STEPS:

EXPECTED

  • The UI to go back to the initial Tag (Images)

Actual

  • There is an error and the tab does not change

After discussing with Carly, I am going to close this task as duplicate as it has been unintentionally fixed as part of the refactoring of the URI.query task.
Please test the above mentioned behaviour when testing T291392.