wazamog / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

Date Widgets crash in android 3.0 #276

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install odk-collect 1.1.7 on a device or emulator running android 3.0 or 
above
2. Try to fill any form with a date or dateTime
3. Trying to change date results in a force close

What is the expected output? What do you see instead?
Expected: Date Change
Output: Force close

Please use labels and text to provide additional information.
Tried on both android 3.0 and 3.1. Its the same. Attached is a logcat

Original issue reported on code.google.com by sthaiya on 27 Jul 2011 at 6:26

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by wbrune...@gmail.com on 27 Jul 2011 at 7:36

GoogleCodeExporter commented 9 years ago
Issue http://code.google.com/p/android/issues/detail?id=2081 that necessitated 
the onDateChangedListener fix was fixed in android 1.6. Could we thus remove 
the fix from odk? The fix is still needed for andoid <= 1.5

Original comment by sthaiya on 28 Jul 2011 at 9:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In newer version of Android DatePicker.updateDate() triggers 
OnDateChangedListener and redunant code in the max-day handling was causing an 
endless loop.  This didn't affect 2.2 or 2.3.

Attached is a patch that fixes this problem for Android 3+ and keeps the 
existing fix in-place for max-day handling on Android <= 1.5

Original comment by matt.ad...@radicaldynamic.com on 25 Nov 2011 at 10:31

Attachments:

GoogleCodeExporter commented 9 years ago
When will this patch be added to the trunk?

btw: here's the same reported issue, I just added my own fix as comment there, 
before finding this entry: 
http://code.google.com/p/opendatakit/issues/detail?id=516

Original comment by mathias....@gmail.com on 17 Feb 2012 at 8:43

GoogleCodeExporter commented 9 years ago
Issue 516 has been merged into this issue.

Original comment by carlhart...@gmail.com on 22 Feb 2012 at 12:31

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 525db95bdf54.

Original comment by carlhart...@gmail.com on 22 Feb 2012 at 12:54