Closed JonathanGuberman closed 8 years ago
Another data point: I tried uploading an older backup of the DB, and that worked fine. The difference between the new backup and the old backup was just one day's worth of workouts, and the extra day was the one where I encountered issue #43. Not sure if they're related or not, though.
This happened because your last set was a pull up. When you hit "+" MB will query a bunch of stats about your last set to display on screen. In this case it tried to force-unwrap a nil weight
value that didn't exist for a bodyweight exercise (there is a separate bodyweight field).
The query has been updated to check for nil in that column so this should now be handled safely.
Fixed in v0.1.1
This morning when I went to use the app I pressed the "+" button in the upper-right corner of the main screen to add a set, and the app crashed. I tried this multiple times with no luck.
When I got back to my computer I plugged it in to get the console output from Xcode and got the following (only the last few lines are shown):
Deleting the app, reinstalling, and uploading my backed-up DB caused the exact same behaviour. Deleting, reinstalling with a fresh DB fixed that issue, although it crashed on startup during the initial run and as a result the exercise DB wasn't fully populated (I'll post a separate issue for that).