[ALOY-484] todo app throw exception when deleting last row in table on android
GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-02-20T20:37:31.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Alloy 1.0.0, 2013 Sprint 03 |
Components | Runtime |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2013-01-23T19:05:02.000+0000 |
Updated | 2013-02-20T20:37:37.000+0000 |
Description
description
This appears to be a problem with event bubbling in Android based on the attached exception output. The same app performs this behavior as expected on iOS. Thie may eventually become a TIMOB ticket when I can get it down to a smaller test case.
reproduce
Get into alloy directory
jake app:run dir=models/todo platform=android
Add a task to the list
Delete the task
If it was the last task in the list, should throw exception
Attachments
Manually disabled event bubbling with e.cancelBubble to prevent the error from occurring in the todo app. The associated TIMOB ticket will cover the root of the problem.
Verified as fixed with latest 1_0_X Alloy on Android Nexus 4 (4.2), Android Nexus One (2.2.2) and Android Tablet (4.2). Closing.