This morning I went on a rampage against bugs and fixed a number of scenarios that were causing users to experience "We're sorry but something went wrong" pages. Here's a list of the bugs I fixed:
- The site crashes if a user removes all parameters from the individual progress reports url
- The site crashes if you try to purchase a ticket for youth guests and the number of guests or the dues are nil
- The site crashes if there are validation errors while updating troop settings
- The site crashes if a user prints a BSA permission slip without choosing an event
- The site crashes on the library items index if an item is checked out to a deleted user
- The site crashes on the equipment items index if an item is checked out to a deleted user
- The site crashes if you hand enter a date for a training tracker that has a five digit year