{ "id": "63300", "key": "TIMOB-2668", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11235", "name": "Release 1.6.0 M02", "archived": true, "released": true, "releaseDate": "2010-12-27" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:46.000+0000", "created": "2011-04-15T03:26:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "regression", "release-1.5.2", "release-1.6.0", "reported-1.5.1", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:46.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
Commit \n3ffe548c removed several event properties that are expected and\ndocumented. The previous commit \ne18980e is sending the correct properties.
\nSee Helpdesk\n62621
\nThis needs to go on the 1_5_X branch as well.
(from [dcd6a5a8e0a2890c734e66f05a297d4df18bd3fd])\nexpose TableViewSection.rows [#2668\nstate:fixed-in-qa milestone:\"Release 1.6.0 M02\"]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/dcd6a5a8e0a2...
(from [fdf3bce165a8abf619990b8082e60b8f7b748747])\nexpose TableViewSection.rows [#2668\nstate:fixed-in-qa milestone:\"Release 1.6.0 M02\"]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/fdf3bce165a8...
sent email for test advice
[INFO] Titanium SDK version: 1.6.0 (01/10/11\n08:25 3452f06) and [INFO] Titanium SDK version: 1.5.2 (01/10/11\n08:22 682e79e) 2.2 sim, 1.6 device
Still having the issue - I've download and installed - \"Windows\n(Android only) filename: mobilesdk-1.5.2-20110111124736-win32.zip\nsha1: 179ba1e084b3d4160d6f361ec11c7f1f93f22a34\"
\nHere is the sample code again:
\nTitanium.UI.setBackgroundColor('#000');
\nvar win = Ti.UI.createWindow({
\n// backgroundImage:'common/images/1_SplashScreen_C.jpg' });
win.open();
\nvar data = [];
\nfor (var i=0;i<4;i++)
\n{
\nvar row = Ti.UI.createTableViewRow();\nif (i==3)\n{\n row.hasCheck=true;\n}\nvar l = Ti.UI.createLabel({\n left:5,\n font:{fontSize:20, fontWeight:'bold'},\n color:'white',\n text:'Label ' + i\n});\nrow.add(l);\ndata[i] = row;
\n
\n}
\n// create table view var tableview =\nTitanium.UI.createTableView({
\ndata:data,
\n
\n});
\n// create table view event listener\ntableview.addEventListener('click', function(e)
\n{
\n// event data\nvar index = e.index;\nvar section = e.section;\n\nTi.API.info('section = ' + section); \nTi.API.info('section rowCount = ' + section.rowCount); \nTi.API.info('section.rows = ' + section.rows); \n\n// reset checks\nfor (var i=0;i<section.rows.length;i++)\n{\n section.rows[i].hasCheck = false;\n section.rows[i].children[0].color = 'white';\n}\n// set current check\nsection.rows[index].hasCheck = true;\nsection.rows[index].children[0].color = 'green';
\n
\n});
\nwin.add(tableview);
request from two pro seats is to include this fix on the 1.5.x\nbranch - looks like we have code to repro in the 1.5.x branch
okay, checked [INFO] Titanium SDK version: 1.5.2 (01/12/11\n10:03 3e8ed10) with g1 (1.6) and droid 1 (2.2.1) same behavior as\nin 1.6.0