Blank page - JavaScript error on Android

Debugging this still further it looks like the extras data is empty for all users

At this point t is undefined after executing the .filter - so I dumped the data in e using JSON.stringify(e):

[{
    "extras": null,
    "description": "Original Poster",
    "user_id": 10309,
    "user": {
        "id": 10309,
        "username": "andybarb",
        "avatar_template": "/user_avatar/example.com/andybarb/{size}/24058_1.png",
        "store": {}
    }
}, {
    "extras": null,
    "description": "Frequent Poster",
    "user_id": 651,
    "user": {
        "id": 651,
        "username": "CDMH",
        "avatar_template": "/user_avatar/example.com/cdmh/{size}/25343_1.png",
        "store": {}
    }
}, {
    "extras": null,
    "description": "Frequent Poster",
    "user_id": 20,
    "user": {
        "id": 20,
        "username": "Martyn",
        "avatar_template": "/user_avatar/example.com/martyn/{size}/22504_1.png",
        "store": {}
    }
}, {
    "extras": null,
    "description": "Frequent Poster",
    "user_id": 10155,
    "user": {
        "id": 10155,
        "username": "maxxbradley",
        "avatar_template": "/user_avatar/example.com/maxxbradley/{size}/21606_1.png",
        "store": {}
    }
}, {
    "extras": null,
    "description": "Frequent Poster",
    "user_id": 9929,
    "user": {
        "id": 9929,
        "username": "mark0",
        "avatar_template": "/letter_avatar_proxy/v2/letter/m/8e7dd6/{size}.png",
        "store": {}
    }
}]

##Edit - Possible Cause

I believe the cause to be a change in ownership of the last post on a topic which is listed on the forum’s latest topics.

(Hopefully) Steps to Reproduce

  • Have two existing test Users - “User 1” and “User 2”
  • Take an topic with several posts
  • the topic that caused the issue had 22 posts (inc. topic post) - created by users other than “User 1” and “User 2”
  • Make a new post in thread using “User 1”
  • this post was made 5 months later
  • Select the “User 1” post using the spanner and then using “Select Posts…”
  • Select “change ownership” from the menu which just appeared.
  • Change the owner user from “User 1” to “User 2”
  • Delete “User 1”.

##Expected Result

  • Forum to still load on Android and Desktop browsers alike.

##Actual Result

  • White / Blank screen when loaded on Android.
  • Loads and works correctly on Desktop Chrome browser.
6 Likes