[TIMOB-14441] BlackBerry : Tableviews cause app to close unexpectedly after launch
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-25T22:48:13.000+0000 |
Affected Version/s | Release 3.1.2 |
Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 |
Components | BlackBerry |
Labels | qe-3.1.2, qe-testadded, regression, sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Pedro Enrique |
Created | 2013-06-28T20:21:34.000+0000 |
Updated | 2014-06-19T12:42:42.000+0000 |
Description
This is a regression, this works fine with 3.1.1.GA
Description:
==============
1. Create an app for BB with the following code:
var tableData = [];
var win = Ti.UI.createWindow({ backgroundColor: 'yellow' });
var table = Ti.UI.createTableView({ objName: 'table' });
for (var i = 0; i <= 20; i++){
var row = Ti.UI.createTableViewRow({
title: String.format('row%d', i),
leftImage: 'appicon.png'
});
tableData.push(row);
}
table.setData(tableData);
win.add(table);
win.open();
2. Build & run for BB device/simulator
Actual Result:
================
1. The app closes unexpectedly after launch
Expected Result:
=================
1. The app should run normally & not exit
Verified the fix & the app launches successfully. Thus closing. Environment: Appcel Studio : 3.1.2.201308082014 Ti SDK : 3.1.2.v20130808180613 Mac OSX : 10.8.4 Alloy : 1.2.0-alpha6 CLI - 3.1.2-alpha win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88