DeanMarkTaylor reported a critical bug causing a blank page on Android devices due to an Uncaught TypeError: Cannot read property 'user' of undefined. The error occurs in the mobile/list/topic_list_item template when processing user data. While the issue could not be reproduced on Meta or in Chrome DevTools, DeanMarkTaylor identified that the extras data was null for all users and hypothesized the root cause: a topic’s latest poster was undefined after changing post ownership and subsequently deleting the original user. DeanMarkTaylor provided detailed steps to reproduce the issue involving transferring ownership and deleting a user. codinghorror requested verification of the reproduction steps. sam clarified that this is a general mobile bug rather than Android-specific, noting the client crashed because a topic lacked a latest poster. sam confirmed the bug was fixed by ensuring the client handles missing latest posters gracefully and committed a patch to the repository. Future work includes better cleanup of user data during removals.
TypeError: Cannot read property 'user' of undefined
at p.extend.s.value (http://example.com/assets/application-622c68bf359d79a9bf2cb12ba4772774.js:3:30623)
at null.<anonymous> (http://example.com/assets/application-622c68bf359d79a9bf2cb12ba4772774.js:1:5924)
at a.d.get (http://example.com/assets/ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js:6:25589)
at s (http://example.com/assets/ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js:7:30860)
at l (http://example.com/assets/ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js:7:31452)
at Object.s [as get] (http://example.com/assets/ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js:7:30849)
at t.get (http://example.com/assets/application-622c68bf359d79a9bf2cb12ba4772774.js:1:20436)
at n (http://example.com/assets/application-622c68bf359d79a9bf2cb12ba4772774.js:1:18524)
at Object.Ember.TEMPLATES.mobile/list/topic_list_item.raw.Discourse.EmberCompatHandlebars.template.1 (http://example.com/assets/application-622c68bf359d79a9bf2cb12ba4772774.js:38:16392)
at Object.o [as inverse] (http://example.com/assets/vendor-2ff9e230f5bc60c6d19b98f79e81c3d5.js:1:8834)