[TIMOB-1530] Android: deleting nonexistent row generates runtime error
|Fix Version/s||Release 1.5.0|
|Labels||android, defect, regression|
found on 1.4.1 f88b9e
1.kitchenSink>baseUI>Views>Table Views> Delete
2.delete until there are no more rows, delete again
results: runtime error
- Don Thorp 2011-04-15
(from [78ca20f1fc77df35bda995a076e89daf446a39da]) [#1530 state:fixed-in-qa] This is actually doing the right thing in Android. Blain and I walked through it and he agreed that iPhone should be throwing an exception. I added an exception handler to the test so that it deals with the expected exception. The delete from top is also correct. The test is actually very broken because tableview.data is actually an array of TableViewSections's not rows. It's a hold over from pre 0.9. The length of that array is 1 therefore it always remove index 0. http://github.com/appcelerator/titanium_mobile/commit/78ca20f1fc77df35bda995a076e89daf446a39da"> http://github.com/appcelerator/titanium_mobile/commit/78ca20f1fc77d...
- Thomas Huelbert 2011-04-15
confirmed, loggin new crash bug for using touch on the button.