Page MenuHomePhabricator

Cannot read properties of undefined (reading 'snippetField')
Closed, ResolvedPublicBUG REPORT

Description

The error has been gathered from Logstash.

Info
It currently creates around 30 errors a week.

The consequence
From a quick look at the error, it seems like when this error is emitted the Search Preview will NOT work. This seems to be limited to very few cases due to a specific result object (I will investigate this too as part of the ticket)

The call stack is:

at retrieveInfoFromQuery  <anonymous>:307:537
at S.handleTitleChange  <anonymous>:310:203
at Array.<anonymous>  <anonymous>:315:706
at S.dispatch  <anonymous>:323:498
at Object.S.dispatch  <anonymous>:322:470
at S.toggleVisibily  <anonymous>:309:622
at Array.<anonymous>  <anonymous>:315:706
at S.dispatch  <anonymous>:323:498
at S.dispatch  <anonymous>:322:470
at Proxy.T.forEach.n.<computed>  <anonymous>:326:115

Event Timeline

Change 928470 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/SearchVue@master] Cannot read properties of undefined (reading 'snippetField')

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

Change 928470 merged by jenkins-bot:

[mediawiki/extensions/SearchVue@master] Cannot read properties of undefined (reading 'snippetField')

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

Etonkovidova subscribed.

The last error was recorded for wmf.11 on Jun 8, 2023 @ 15:00:17.577 - logstash link.