The “Uncategorized” category is showing up in the Categories menu and results in a 404 error. tgxworld believes this is a bug, while cpradio and codinghorror think it might be a caching issue. However, attempts to clear the cache didn’t resolve the issue, and it was clarified that the server cache, not browser cache, is the likely culprit.
The discussion shifted towards the handling of the “Uncategorized” category, with some users suggesting it should be removed or made into a regular editable category. sam thinks the allow_uncategorized_topics option is a hack and should be removed, while cpradio agrees that making “Uncategorized” a regular category would simplify things.
The issue is still reproducible in the stable branch, as reported by ljpp. However, sam claims that the issue has been fixed.
I think the best approach is to remove all the “special” uncategorized handling stuff and just have it ship as a regular editable category, do the special suppression via css controlled by a site setting.
Every few days someone has an issue with uncategorized we got to fix the root cause instead of adding more hack.
I completely agree with this. There is little reason to have Uncategorized behave special. Sure you always need a category to be assigned to a Topic, but if someone removes all categories from their instance, surely an error will occur when they try to create a new topic and can’t assign a category.
By default, Discourse should continue to ship with an Uncategorized category, just make it a regular one though and not special. That way, anyone could technically delete it and just create another category that would be their default or whatever.
I’ve seen a fair share of uncategory logic when I’ve been in and out and I must say, it always felt like walking on pins and needles when you had to alter code that was dealing with Uncategorized.
What is the status of “Uncategorized”? This bug is still reproducable in the stable branch as of today. I see no use for it, and would like to get rid of it.