Reply as linked topic should default to same category

AI-generated summary

A discussion bug is reported where the reply-as-linked topic feature defaults to the most popular category instead of the original topic’s category. badevguru provides steps to reproduce the issue and an image to illustrate the problem. codinghorror initially states that the issue was fixed, but later confirms that it’s still a bug codinghorror. eviltrout attributes the regression to an Ember upgrade and references a GitHub commit that may have caused the issue.

This is a particularly thorny issue if the topic is in a private category because the category drop down of the reply will default to the most popular category, not the category of the original topic which people would assume meaning high likely hood they will end up posting an intended private forum post publicly.

Steps

  1. Select a topic that is not in the same category that defaults to the top of the category drop down box.
  2. Select the reply-as-linked topic option

Expected Behavior

The category drop down matches the category selected in step 1.

Actual Behavior

The category drop down just defaults to the normal default for any new topic post

[Image is big enough that you need to click it to see the animation…]

10 Mi Piace

Slightly related:

1 Mi Piace

We should fix this @eviltrout.

This was fixed a few days ago.

2 Mi Piace

This is still a bug, can you add it to your list @eviltrout?

1 Mi Piace

Looks like it regressed at some point. Probably an Ember upgrade.

https://github.com/discourse/discourse/commit/fff119a55443176e7f7e32e322daac08d19f5abc

3 Mi Piace