Page MenuHomePhabricator

Uncaught TypeError: data.homepagequestionstore.questions.forEach is not a function
Closed, ResolvedPublic

Description

https://logstash.wikimedia.org/goto/96efc12829343fdfd2d44ac32e2eec41
Link: https://test.wikipedia.org/w/index.php?title=Special:Homepage&source=personaltoolslink&namespace=0

t <anonymous>:483:810
at fire  https://test.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=1k1a5:46:209
at Object.fireWith [as resolveWith]  https://test.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=1k1a5:47:402
at Object.deferred.<computed> [as resolve]  https://test.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=1k1a5:50:900
at Object.<anonymous>  <anonymous>:511:391
at fire  https://test.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=1k1a5:46:209
at Object.fireWith [as resolveWith]  https://test.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=1k1a5:47:402
at done  https://test.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=1k1a5:129:95
at XMLHttpRequest.<anonymous>  https://test.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=1k1a5:132:593
Impact

Some kind of issue with question display on personal homepage.?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Only seen on testwiki, 24 times in the last 30 month (pretty low even considering that Special:Homepage on testwiki does not get used that often).

Change 720963 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] Check for data before attempting to use

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

kostajh triaged this task as Lowest priority.Sep 14 2021, 11:55 AM

Change 720963 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Check for data before attempting to use

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

Last timestamp on testwiki wmf.1 - logstash link

@timestamp Sep 22, 2021 @ 16:51:48.168.

Only one error is reported. I'll monitor for a day before resolving it.

Etonkovidova claimed this task.

No errors on group 1 or group 2 wikis - there is another error on testwiki wmf.1 (Sep 23, 2021 @ 19:33:00.554).

Tentatively closing as Resolved.

Change 775947 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] ApiQuestionStore: Fallback to empty array if array_map fails

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

Change 775947 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] ApiQuestionStore: Fallback to empty array if array_map fails

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

No errors for normalized_message.keyword: TypeError: data.homepagequestionstore.questions.forEach is not a function (the link) is registered for wmf.6.