Page MenuHomePhabricator

t is undefined (from isImageInGallery on KaiOS)
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

App version: 1.2.0

message
t is undefined

Impact

Unclear. It is possible it breaks link navigation on article with no images.

Notes

t refers to the galleryItems argument of the isImageInGallery function

It's easy enough to add a guard so the function doesn't break but part of this task is also to identify why galleryItems is null (find an article where it is the case).

Details

Request URL
n/a
Stack Trace
exception.trace
isImageInGallery@app://kaios.wikipedia.org/dist/main.js:1:403957
findVisibleLinks@app://kaios.wikipedia.org/dist/main.js:1:403767
useArticleLinksNavigation/<@app://kaios.wikipedia.org/dist/main.js:1:401332
q@app://kaios.wikipedia.org/dist/main.js:1:314144
hooks_module_/<@app://kaios.wikipedia.org/dist/main.js:1:313995
hooks_module_@app://kaios.wikipedia.org/dist/main.js:1:313927

Event Timeline

Krinkle renamed this task from t is undefined to t is undefined (from isImageInGallery on KaiOS).Jan 6 2021, 10:31 PM
Krinkle moved this task from Untriaged to Jan 2021 on the Wikimedia-production-error board.

waiting for devs help to be able to debug the live code to change variables values