Titanium JIRA Archive
Alloy (ALOY)

[ALOY-484] todo app throw exception when deleting last row in table on android

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-02-20T20:37:31.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sAlloy 1.0.0, 2013 Sprint 03
ComponentsRuntime
Labelsn/a
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2013-01-23T19:05:02.000+0000
Updated2013-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

FileDateSize
Screen Shot 2013-01-23 at 2.01.26 PM.png2013-01-23T19:05:02.000+000044306

Comments

  1. Tony Lukasavage 2013-02-06

    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.
  2. Federico Casali 2013-02-07

    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.

JSON Source