If a user accidentally creates a topic in the wrong category or inadvertently uses the post-voting plugin when they didn’t mean to the only option for the user to correct this is to delete and recreate the post under the correct category/with the corrected settings.
When they attempt to do this Discourse blocks them because the “title is in use” and the post content is too similar to their previously submitted post.
This should not happen. The original post is very clearly shown to have been deleted by the user and is only pending cleanup.
While this might prevent re-posts after a moderator has removed something posts deleted by the user themselves should be exempt from this check if the original post has had no replies yet.
Steps to reproduce:
- Create a post starting a new topic in one copy.
- (Realise that you are not a moderator, so can’t move the post and that the post-voting plugin can’t be disabled for a topic by anyone at all after it has been created.)
- Copy the post text to a text editor.
- Delete the original topic.
- Create a replacement post in the correct category and with the correct settings, using a copy of the original text.
What should happen:
- Discourse recognises a “delete and redraft” and permits the corrected post.
What actually happens:
- Discourse refuses to function until the post has been arbitrarily re-titled and padded with useless cruft to get around the “similarity” constraint.