When a discussion has a DiscussionTaggedPost event post, and this is a tag that has been deleted from the discussion, and this tag is secondary and thus not serialized in the ForumSerializer, the UI shows "deleted", as the tag is nowhere to be found in the frontend.
Steps to Reproduce
As admin, create at least 5 secondary tags
Use the last tag (the one with the highest id) in a discussion (let's say we take tag5)
Lock the discussion or add a reply (we just want a new post in the stream)
Remove the tag that had been added (tag5)
See the event post appear in the UI
Reload the page
See that the event post shows "deleted" instead of "tag5".
Expected Behavior
The UI should show the correct tag label and not deleted.
Current Behavior
When a discussion has a
DiscussionTaggedPost
event post, and this is a tag that has been deleted from the discussion, and this tag is secondary and thus not serialized in the ForumSerializer, the UI shows "deleted", as the tag is nowhere to be found in the frontend.Steps to Reproduce
tag5
)tag5
)Expected Behavior
The UI should show the correct tag label and not deleted.
Screenshots
Before reload: Click to expand
After reload:
After reload: Click to expand
Environment
Possible Solution
Add a relationship to the
DiscussionTaggedPost
?... Somehow the tag needs to be explicitly loaded by the API when showing the discussion or postAdditional Context
No response