# Admin/mods can post to "uncategorized" with "allow uncategorized topics" disabled

**URL:** https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469
**Category:** Bug
**Created:** [March 18, 2015, 7:47am UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469 "2015-03-18T07:47:26Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![funvill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/funvill/32/103428_2.png) [@funvill](https://meta.discourse.org/u/funvill)
#### Post date: [March 18, 2015, 7:47am UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/1 "2015-03-18T07:47:26Z")

</div>

A continuation of this bug but different problem

> [@Auto close somehow getting turned on for admin](https://meta.discourse.org/t/auto-close-somehow-getting-turned-on-for-admin/26354):
>
> This problem only seems to affect admin users. Only affects some posts, not all posts. A admin user will create a new topic in a category. The topic will be posted to the forum successfully. There will be no warnings/notification on the initial topic that it will be auto closed. After about 5-10 mins, The topic will show that it will be auto close after 60 mins. I am sure that I did not set the auto close flag for this topic. I am sure that the category does not have the “auto close after x”…

Thank you @sam for helping me with the previous problem

I have removed all the topics from the “uncategorized” category.  
Then I disabled the “allow uncategorized topics” feature.  
 ![](https://global.discourse-cdn.com/meta/original/3X/9/6/96c0d871f4dd536ef6508ff6abc8a531d2901f56.png)

**Test 1** Error  
Then I created a new topic. The default category was “general” and I did not change it.  
The newly created topic was created in the “uncategorized” category. (I believe this is an error)

**Test 2** as expected.  
I created a new topic, this time I selected a different category and then reselected the “general” category  
The newly created topic was created in the “General” category as expected.

**Test 3** as expected.  
I logged in as a non-admin user  
Then I created a new topic. The default category was “general” and I did not change it.  
The newly created topic was created in the “General” category as expected.

* * *

This bug only seems to affect admins/mod.  
This bug only seems to affect the post if you leave it as the default category and not change it.  
This bug only seems to happen when the “allow uncategorized topics” feature is disabled.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 18, 2015, 7:53am UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/2 "2015-03-18T07:53:08Z")

</div>

this should only happen on older releases are you on tests-passed or beta?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 18, 2015, 8:09am UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/3 "2015-03-18T08:09:54Z")

</div>

hmmm it seems you are on beta 3 did you just upgrade?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [March 18, 2015, 12:10pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/4 "2015-03-18T12:10:45Z")

</div>

Wait, this was changed? As I know I brought up similar concerns back in Dec  
[https://meta.discourse.org/t/disallow-the-uncategorized-for-mod-admins/22747/3?u=cpradio](https://meta.discourse.org/t/disallow-the-uncategorized-for-mod-admins/22747/3)

and

> [@Disallowing "uncategorized" entries still offers uncategorized as default category](https://meta.discourse.org/t/disallowing-uncategorized-entries-still-offers-uncategorized-as-default-category/17142/15):
>
> Yeah, I get hit by this all of the time. I’ll navigate to a category, create a new topic, hit Create Topic and then go “Oh crap, I didn’t mean for that to be in Uncategorized, I wanted it in the private category I was just in!” Happens way too often for me (you’d think I would have learned my lesson after the first 3 times…)

I’m about to get my VM up and running to try this out on latest, but I’d be surprised to find it work differently than what I recall in the past (pleasantly surprised, but surprised nonetheless).

**Edit:** I’m officially pleasantly surprised! 😄

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [March 18, 2015, 1:53pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/5 "2015-03-18T13:53:30Z")

</div>

One question, how does removing the Uncategorized option from the drop down list impact WordPress articles being imported to Discourse? If the category doesn’t match up and would it default to Uncategorized still even though there is a site setting preventing topics from being put in Uncategorized?

---

<div class="post-metadata">

### Author: ![funvill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/funvill/32/103428_2.png) [@funvill](https://meta.discourse.org/u/funvill)
#### Post date: [March 18, 2015, 4:03pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/6 "2015-03-18T16:03:51Z")

</div>

> [@sam](#):
>
> hmmm it seems you are on beta 3 did you just upgrade?

We keep up today with new versions as they come out. Normally within 24 hours of receiving the notification of a new update. This problem has been happing for a few weeks (3-5 at lest) now.

Current version: v1.3.0.beta3 +24

---

<div class="post-metadata">

### Author: ![funvill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/funvill/32/103428_2.png) [@funvill](https://meta.discourse.org/u/funvill)
#### Post date: [March 29, 2015, 9:08am UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/7 "2015-03-29T09:08:58Z")

</div>

This bug also affects the most recent version of discourse  
**v1.3.0.beta4 +73**

_Bump_

---

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [April 14, 2015, 12:49pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/8 "2015-04-14T12:49:15Z")

</div>

And 1.3.0.beta5, at least for moving a post into a new topic (as moderator, not admin.).

The move post dialogue opens with PHP selected as the category. If you want to move the post to any other category, and select it from the dropdown, that’s fine; it works.

If you want to move it to PHP and leave it at the default - it will move with no category. If you actively select PHP from the dropdown - it will still move with no category. To move to PHP, you need to first select any other category and then switch it back to PHP.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 12, 2015, 10:36pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/11 "2015-06-12T22:36:31Z")

</div>

@funvill I see you are interested in this bug. Would you like to buy a hosting contract with us? We always prioritize bugs from customers. 😉

---

<div class="post-metadata">

### Author: ![funvill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/funvill/32/103428_2.png) [@funvill](https://meta.discourse.org/u/funvill)
#### Post date: [June 12, 2015, 11:01pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/12 "2015-06-12T23:01:04Z")

</div>

Yep, I understand, I will stop bugging you.  
We are a non-for-profit with a negative cash flow at the moment (not your problem). This bug is not critical, Its more of an annoyance that catches us out once every few days.

Thank you for your efforts, Discourse is awe-inspiring software.

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [June 12, 2015, 11:11pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/13 "2015-06-12T23:11:03Z")

</div>

I see this issue plus another one - kind of related one…

Where admins post in a top level category when it’s read only (“See”) and only sub-categories are writeable (“Create / Reply / See”) for new posts.

This is mostly handled by “public shaming” and “jovial abuse” between the moderators and admins - some call it “education” - not something I recommend.  
… over time these users try harder not to make the mistake.

Because of the number of admins / moderators these topics usually get corrected quite quickly - however this can be more than embarrassing when an admin posts a private topic - publicly.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [June 30, 2015, 5:16pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/14 "2015-06-30T17:16:27Z")

</div>

I think that I just fixed this. Can somebody test it?

[https://github.com/discourse/discourse/pull/3579](https://github.com/discourse/discourse/pull/3579)

edit: Just performed some tests, it looks fixed!

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [June 30, 2015, 6:15pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/15 "2015-06-30T18:15:04Z")

</div>

Based on my tests, yes, it did. I did tests prior to the commit and after. Prior it went into uncategorized, and after it went into the correct category.

Thanks @riking

---

<div class="post-metadata">

### Author: ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)
#### Post date: [June 30, 2015, 8:55pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/16 "2015-06-30T20:55:49Z")

</div>

Your timing is impeccable. One of our mods just discovered this bug, so I came to Meta to see if there’s a fix and boom! it’s just been fixed 😄

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 30, 2015, 9:38pm UTC](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469/17 "2015-06-30T21:38:45Z")

</div>


