todotxt / todo.txt-ios

Official Todo.txt iOS app for managing your todo.txt file stored in Dropbox.
http://todotxt.org
GNU General Public License v3.0
379 stars 112 forks source link

Crash on dropbox conflicts v1.8 #219

Closed stevendpclark closed 10 years ago

stevendpclark commented 10 years ago

Todo.txt v1.8 crashes on my iPhone 5S on LTE multiple times per day. On my developer system within the 64 bit simulator, I can trigger the issue pretty easily as well just by marking tasks completed/uncompleted fairly quickly. The issue has to do with dropbox conflicts again. This issue can also get the application into an infinite crash loop on startup if one has dropbox conflicts.

I noticed that Jeremy (jhbrown94) had also identified the issue properly on the mailing list.

The issue made it into the code base due to separate conflicting changes trying to resolve the previous issue about dropbox conflicts.

One of the change sets, modified the exception to return only the filename, while the other changed the code to assume the exception contained the full DropboxFile object.