codeforamerica / chime

A city-focused content management system
http://chimecms.org/
BSD 3-Clause "New" or "Revised" License
35 stars 12 forks source link

Saving an article edited by someone else causes an unrecoverable error #474

Closed tmaybe closed 9 years ago

tmaybe commented 9 years ago

To reproduce:

  1. Open an article edit form with two different user accounts at the same time. This is the exact same article in the same activity/branch.
  2. Make an edit and save the article in one of the accounts.
  3. Make another edit and save the article in the second account.

Chime errors with a 500/GitCommandError exception. After that you get the same error if you try to browse/edit the activity, delete the activity, or create a new activity. The only way to recover is by deleting the account's repo on disk so it can be recreated.