main ← t-compose
opened 04:52PM - 21 Dec 25 UTC
This bug happens when a user is attempting to update topic metadata while viewin…g a post.
When updating the topic's tags, `editPost()` calls both `Topic.update()` and `post.save()`. The topic saves fine, but the `post.save()` is unnecessary since content didn't change and can fail with permission errors in certain contexts (e.g. viewing a translated topic).
<img width="500" height="2334" alt="image" src="https://github.com/user-attachments/assets/033c141d-6a3c-4d9c-a06f-186d7d1486c9" />
Meta topic: https://meta.discourse.org/t/editing-title-category-tags-brings-up-full-editor-saving-says-you-are-not-permitted-to-view-the-requested-resource/391459