Editing a topic with an invalid title will still push it to the top

Case:

  • Create a topic with a valid title
  • Wait til other topics appear (by other users, whatever)
  • Go edit the title to something invalid, you’ll get an error that’s it’s not accepted
  • Press the X to cancel the edit
  • The topic will be pushed to the top as if it had been edited.
1 Like

I have created the pull request for this issue.

https://github.com/discourse/discourse/pull/4185

6 Likes

We should fix this, @eviltrout can you review after header changes are in?

1 Like

Looks like @zogstrip merged it in :slight_smile:

3 Likes