Collect: v1.6.0
Honor 5C / LineageOS 14.1 / Android 7.1.1
Nexus 5 / LineageOS 14.1 / Android 7.1.2
Nexus 9 / Stock 7.1.1
Works on Android 6.0, 4.2.
Since the 1.6.0 Collect update, existing forms using the Date widget crash when loading the date type question.

Fill an existing or new form that includes the Date widget.
The Date widget should open when loading the concerned version.
Works on:
@FlorentDotMe Sorry this update is causing you problems! Can you please include two - three question form (XLS or XML) that has this problem?
@yanokwa Please find attached a very simple form with which I'm facing the issue, and related screenshots.
I was unable to reproduce the bug with the provided form. I tested on both debug and release versions.
Android 7.1.1 Lineage OS
Sony C1904
API 25

@FlorentDotMe What physical device do you have?
That's surprising, as for now the problem occurs on 3 of my devices:
All of these devices were working well with the previous Collect version.
My guess is that something has changed in the way that empty dates are interpreted. @FlorentDotMe @dig360 One possible quick fix to try is to add today() to the default column for your dates. We'll keep seeing what we can do to address it more fundamentally but it's unfortunately difficult to fix something we can't reproduce! :/
@shobhitagarwal1612 @yanokwa Could you try changing your phone's language to French or Spanish? Or @FlorentDotMe @dig360, could you see what happens if you change the language to English (US)?
I cannot repro this on a Pixel emulator running 7.1.1 (or a Genymotion emulator running 7.1.0). For the former, I've tried French and English. I've tried new forms, edited forms, changed dates, and nada. Very strange...

@lognaturel My Honor 5C is already fully in English, Nexus 5 and Nexus 9 are in French. Issue doesn't seem related to the language. I also tried your suggestion by adding today() as default value, but it didn't fix the problem.
@yanokwa I'm deploying the right emulator to reproduce as you did.
Having the issue on 3 different devices (different hardware, different ROM, but same API) let me think that I shouldn't be alone to face this problem.
Thanks for the additional detail, @FlorentDotMe! If you want to work with us in real-time to repro it, we are on http://slack.opendatakit.org in the #collect-code channel.
@lognaturel : just tried in english, I receive the same message. I'll change the default value later to try to fix that way... Not actually at home... I'll back with the result.
Thanks @dig360! @FlorentDotMe tried that and it didn't work so I don't think it will help unfortunately.
My new hypothesis is that some Android builds have extra early checks for date validity and that the problem is here. What we've been doing is setting the picker date to a non-sense value when it's initialized and then immediately setting it to the right value here. But that may not work for all Android builds.
What would be really helpful is if one of you who has this problem could try changing the 0, 0, 0 to a date that's in range such as 2017, 05, 02 and report back on whether that fixes the problem.
Here's an APK: collect_app-debug.apk.zip
First uninstall Collect. Then copy the APK to the phone and tap to install. Or if you have developer tools installed you can run adb install collect_app-debug.apk. Thanks!
@dig360, @FlorentDotMe was able to try out the patched version and confirm that it fixes the problem! We're working on a 1.6.1 patch release that should be out shortly.
The releases are rolling out on the Google Play store now!
@dig360 and @FlorentDotMe The releases are rolling out on the Google Play store now. Please upgrade to fix the issues you reported!
Release 1.6.1 solved the issue for me. Thank you for the very quick answer.
Bests Regards
Didier
Le 2 mai 2017 22:58, "Yaw Anokwa" notifications@github.com a écrit :
@dig360 https://github.com/dig360 and @FlorentDotMe
https://github.com/FlorentDotMe The releases are rolling out on the
Google Play store now. Please upgrade to fix the issues you reported!—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opendatakit/collect/issues/995#issuecomment-298759218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsFAGUF8kE9PiUY6iMvmsxLIa6wuP_wks5r15jzgaJpZM4NN950
.