Endless Spinner - Topic Not Found

AI-generated summary

In a bug report titled “Endless Spinner - Topic Not Found,” strager noted that clicking links to removed topics on Meta resulted in an infinite loading spinner despite the “Topic Not Found” title, suggesting a user-friendly error message instead. codinghorror confirmed the issue could be reproduced and requested a fix from eviltrout. eviltrout quickly confirmed and deployed a fix via a GitHub commit. However, strager reported the issue persisted, noting it occurred for logged-in users as well. While downey experienced an instant standard 404 error, strager initially suspected caching before cpradio explained that deployment to Meta can take 15-30 minutes, implying the fix may not have been live when the issue was re-tested.

Here on Meta, I clicked on a link for a topic that has apparently been removed ( https://meta.discourse.org/t/category-specific-moderators-phase-2/21897) - the Spinner keeps going round and round as if something is loading and it took me a moment or two to realize that the title said Topic Not Found. Perhaps this could be updated so that SOMETHING loads (maybe an image of some sort and a sentence like “Sorry this topic wasn’t found. Perhaps it has been removed or there is a typo in the address.”) to help indicate to users that the link is no good?

2 Likes

Hmm that does look like a bug @eviltrout – I can repro in this topic by attempting to click the above link in an incognito browser window. Can you take a look?

1 Like

Confirmed and fixed:

https://github.com/discourse/discourse/commit/e54125b5dc0db7a51839d096fe38927ddec8abcd

1 Like

Not fixed unless this wasn’t migrated to Meta yet. Also, users don’t have to be anonymous - happens to me when logged in as well.

I get the standard 404, and it’s basically instant.

Hmmm… I’m getting that now as well… maybe something was cached?

No, it takes 15-30 minutes for master to deploy to meta. You simply didn’t wait long enough.

1 Like