Changing a shared draft topic's category shouldn't be allowed

AI-generated summary

Changing a Shared Draft Topic’s Category Shouldn’t be Allowed

The discussion revolves around a bug where editing a shared draft’s current category changes the destination category instead. Canapin suggests disabling category change for shared drafts since they can only have one category.

Canapin provides repro steps and videos to demonstrate the issue. They found that the only way to change the category without affecting the destination is by doing it from the topic list.

JammyDodger points out that shared drafts are tied to a specific category set in shared drafts category and cannot be moved between categories without publishing first. They believe the bug is due to Bulk Actions allowing unintended actions. Further testing revealed that moving a shared draft using Bulk Action tools can make it visible but inaccessible to users who don’t meet the shared drafts min trust level requirement.

Editing a shared draft’s current category changes the destination category instead

Edit: instead of fixing this, we should disable category change for a shared draft, as this feature only accepts one category. See the message below: Changing a shared draft topic's category shouldn't be allowed - #2 by JammyDodger


Repro steps:

  1. The topic is in the #general category. The draft destination is set to #gaming.

  2. I edit the topic’s category (from the :pencil2: icon) from #general to #general #workbench.

  3. Instead, the destination category changes from #gaming to #general #workbench, while the topic’s category remains #general.

The expected behavior is that the destination category stays #gaming and the topic is moved from #general to #general #workbench.


The only way I found to change the category is doing it from the topic list:

1 Like

But you can only have Shared Drafts in the category you set in shared drafts category? You won’t be able to move a shared draft topic between categories, you would need to publish it first.

I think the bug here seems to be that Bulk Actions lets you do something that shouldn’t be intended.


Giving this a quick run-through on my test site, the Shared Draft I moved using the Bulk Action tools is now visible in the topic list for everyone, but inaccessible to a test user who doesn’t meet the shared drafts min trust level requirement.

3 Likes