I took two screenshots which I can’t attach here. I sometimes see topics without a category badge. When I edit the topic (I can because it’s either my own topic or I am TL3 or TL4) I see that the category has been assigned, but the badge is just not being displayed. I am seeing it right now on this very forum.
the badge is missing both on the overview of topics and when I open the topic itself.
I have in the past also see it happen to all badges of a particular category, but most often it happens to one or two topics at the time. I think after an hour or so I have seen the badge show up again.
I’ve actually seen this bug before @awesomerobot, so technically I can repro. I was wondering why some topics would be randomly missing their category badge…
It’s kind of devilish to repro, but I remember it happening in Suggested Topics and thinking “hmm, that’s really odd”
In that case I was viewing a category which had subcategories. Normally one would see the listed topics with all the badges of the subcategories as well in this overview, but all category badges were missing on all topics.
I once opened my browser tools to study what was happening. I noticed that the row was there, but the bad element was not in the HTML, indicating that the badge simply hadn’t been included in rendering the page.
Oh wow over a year. I’ve only noticed it recently.
Not singling you out, apologies if it came across that way – but the key to fixing any bug is to have a consistent set of steps to reproduce it. That’s the basis of software engineering. We will keep this topic open, and over time hopefully figure out a repro.
I was able to get a sort of repro on our internal Discourse instance. Unfortunately I can’t post about it here since it has a bunch of private data in the screenshots, but I have a definite repro – and it repros even in the topic itself, that is, if you click through to the topic it looks like it has no category. Once you press the edit button on the title, then and only then do you see the category is really there!
It also persists between navigation to various topics and back to the topic list.
So, I don’t know how I got the topic to that state, other than replying to it, but it’s a very “sticky” problem that is only “fixed” by refreshing the entire page with f5.
Hey there, on our discourse instance the issue is occurring as well. However, in our case, not even a refresh fixes the issue, and it persists across browsers/machines. Also, the badges are only missing from a single category (uncategorized).
Is there any way I can support in getting this fixed?
We actually rolled out a fix for this and I haven’t seen it since the fix. I think you’re reporting a different issue @theSuess, going to close this topic out.