Create a new Topic in one category > change categories > new category is not displayed

סיכום מבוסס בינה מלאכותית

A bug was reported by debryc where selecting a different category while creating a new topic doesn’t visually update the category field — though the topic is correctly posted in the chosen category. codinghorror confirmed it’s reproducible and urged a quick fix. j.jaffeux initially misunderstood the issue but later identified that the category search wasn’t properly scoped, causing the visual mismatch. A fix was submitted via pull request #7794 j.jaffeux. codinghorror asked if the fix would be backported to stable; j.jaffeux confirmed it would be backported after merging on Monday. The issue affects user experience by failing to reflect the selected category visually, despite correct backend behavior.

  1. I clicked on Create a new Topic when I was in one category

  2. I chose a different category to post in

  3. After selecting the new category, it does not display in the category field

If I create this topic, it will be in the category I selected, but visually Discourse doesn’t tell me that’s true.

10 לייקים

Oh dear this is definitely a repro-able bug @sam @j.jaffeux we need to prioritize a fix here quick next week.

5 לייקים

I don’t get step 2 though. This is supposed to be scoped to the current category you were in (and from my test, this is the case).

So how can you choose a different parent category in step 2? I’m missing something here.

EDIT: Ok I get it, seems like search is not getting scoped to current category. (and for some reason my first attempt didnt show this)

3 לייקים

Sorry about this, should be fixed by:

https://github.com/discourse/discourse/pull/7794

Thanks for detailed report! :heart:

5 לייקים

Did you mark this one for backport to stable?

No because I will merge it Monday, but I will backport it at this time :+1:

4 לייקים

This topic was automatically closed after 30 hours. New replies are no longer allowed.