Closed matkoniecz closed 6 years ago
In case that current state of my SC install is not useful - please, tell me so I can reset it (I plan on using SC and making PR for https://github.com/westnordost/StreetComplete/issues/750#issuecomment-361078545 )
Crash was triggered on SC trunk, revision 9f25eeb3
@westnordost Is current state of app likely to be useful? I am keeping it unused for now, but I prefer to be able to install SC into my phone, so if there is any debug info that would be useful I prefer to provide it now.
To solve this problem for yourself, you can either clear all data for the app of course, or, you click the upload button once. Part of the upload process is to remove any closed quests that are older than yesterday. The error is caused by a closed quest at the top of the undo queue which does not have an element associated with it anymore. This happens always when the element the quest was trying to modify was deleted in the meantime and thus the quest was closed as conflicting. The bug leads to that in the case as experienced by you, you are unable to undo anything, because it leads to a crash, for one day.
The fix is to not close a conflicting quest, but to delete it, so it is not a candidate for the undo-feature.
I am not sure whatever dev version of StreetComplete calls home with crash reports so I post it here.
I can trigger crash by selecting undo.
It seems likely that making SC edit, making edit to the same object using Vespucci editor and later using undo in SC caused this problem to appear.
I kept my SC in the same state - I can provide more debug info if that would be useful.