Hello ![]()
I think I found a bug related to shared edit wiki posts.
Scenario:
- a post that is turned into a wiki and has shared edits enabled
- as a user who is neither the original author, nor a moderator (just a collaborator)
- open the history of the post and click on “Edit post” on the last version
Outcome:
- the post is opened in the “normal” editor instead of the collaborative editor
- clicking “Save edit” errors with an error alert (“An error occurred: Sorry, an error has occurred.”)
- after discarding the changes, the full post is gone/empty
- only after refreshing the page the post in its original state (without the edits) is displayed again
Details:
- it seems to have to do with
PUT /t/30/tagswhich returns a 422 - the user did not set any tags (there were none on the topic), only changed the post body
- in the collaborative editor tags cannot be set, only in the “normal” editor
Maybe the button should not be displayed at all when shared edits are enabled? Or the collaborative editor should be used?