Newly created category cannot be found


(Tamás Michelberger) #1

When I create a new category and immediately try to post a new topic the newly created category is not in the category drop-down. A page reload solves the issue.

My guess is that the category drop-down’s content is not adjusted after a category has been created.


(Jeff Atwood) #2

Is there any way we can force the client to do a full reload afte a category is created, @eviltrout?


(Robin Ward) #3

We already do this – unless you mean any other tabs or open windows?


(Jeff Atwood) #4

We can’t reproduce this @tmichelberger can you provide detailed repro steps?


(Tamás Michelberger) #5

First I couldn’t reproduce it either, but then it happened again.

Exact steps:

  1. create a new category (after this a full reload actually happens)
  2. (we are redirected to the new categories page) edit and save the category welcome topic
  3. go to the home page
  4. try to create a new topic (the newly created category won’t show up)

Thanks for looking into this.


(Jeff Atwood) #6

Yep that is a good repro @eviltrout I can confim that sequence on try.discourse.org – we should fix it.


(Robin Ward) #7

I’ve got a fix in master. This was related to the system losing permissions in your browser’s memory when editing a category definition topic.

https://github.com/discourse/discourse/commit/87667cfe17d7d31660241793cc009fd30994c415


(Jeff Atwood) #8