|Status:||patch - code needs review|
I added a milestone that was missing information, and received an error message (indicating the error report would be emailed to the administrator, but no email was generated - a separate issue). However, it created the milestone anyway. I didn't notice that and tried to create a new milestone with the same name and all required information. Same error message, but milestone was created, so now there were two with the same name. Attempting to edit either results in error but the edit actually takes place. Selecting the first one and deleting it results in error, but delete actually takes place, and thereafter, when there is only a single milestone with correct information in it, everything works as it should.
Expected behavior: When creating a milestone with any kind of invalid or missing information, system should notify user but should *not* actually create the milestone in the database.