500 when marking a Todo as done a second time
Sentry: https://sentry.gitlap.com/gitlab/gitlabcom/issues/2001/
Repro:
- Go to Todos
- Open one in a new tab
- Do something that would automatically mark the task as done (reply, for example)
- Go back to previous tab
- Click "Done" on the same task
StateMachines::InvalidTransition: Cannot transition state via :done from :done (Reason(s): State cannot transition via "done")
cc @dbalexandre