Removing of non-valid time-time range causes crashing of app
Closed this issue · 4 comments
kudlav commented
Vespucci Version
Vespucci 0.9.10b1324
Device (Manufacturer and Model)
Samsung Galaxy A3 (SM-A300FU)
Android Version
Android 6.0.1
Behaviour/Symptoms/Expected Behaviour/How to recreate
- Add opening our tag to an object
- Open OpeningHours editor
- Remove everything existing (three dots -> Delete)
- Add Time-Time range
- Set End time to something not valid (using top line and SW keyboard add third digit)
- Save that and open editing tool again.
- Try to remove rules using three dots -> Delete button
- After pressing Delete button, app crashes.
Crash dump submitted (no or yes + date)
12.12.2017 (20:35 UTC+1) report containig email adress xxxxxx and this content
Any other potentially relevant information
Language: cs_CZ
kudlav commented
simonpoole commented
Fixed in ddda384 (btw I assume the app doesn't crash just the opening hours editor?)
kudlav commented
Repeat same procedure, but press Refresh button instead of Delete button.
Reported 13.12.2017 (18:20), containing email adress xxxxxxxxx
simonpoole commented
I went over all the code that might cause issues and have now I hope caught all potential trouble spots d242e89 The root cause being that when parsing fails on the first rule, there is not Collection of rules to delete or to use for a refresh.