{ "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.

\n

See Helpdesk\n62621

\n

This needs to go on the 1_5_X branch as well.

{html}", "attachment": [], "flagged": false, "summary": "Android: Tableview Click Event Missing Properties", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129147", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(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...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:26:29.000+0000", "updated": "2011-04-15T03:26:29.000+0000" }, { "id": "129148", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(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...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:26:29.000+0000", "updated": "2011-04-15T03:26:29.000+0000" }, { "id": "129149", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

sent email for test advice

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:26:30.000+0000", "updated": "2011-04-15T03:26:30.000+0000" }, { "id": "129150", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

[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

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:26:30.000+0000", "updated": "2011-04-15T03:26:30.000+0000" }, { "id": "129151", "author": { "name": "todd", "key": "todd", "displayName": "Todd", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Still having the issue - I've download and installed - \"Windows\n(Android only) filename: mobilesdk-1.5.2-20110111124736-win32.zip\nsha1: 179ba1e084b3d4160d6f361ec11c7f1f93f22a34\"

\n

Here is the sample code again:
\nTitanium.UI.setBackgroundColor('#000');
\nvar win = Ti.UI.createWindow({
\n// backgroundImage:'common/images/1_SplashScreen_C.jpg' });

\n

win.open();

\n

var data = [];
\nfor (var i=0;i<4;i++)
\n{

\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({

\n
\ndata:data,\n
\n

});

\n

// create table view event listener\ntableview.addEventListener('click', function(e)
\n{

\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

});

\n

win.add(tableview);

{html}", "updateAuthor": { "name": "todd", "key": "todd", "displayName": "Todd", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:26:31.000+0000", "updated": "2011-04-15T03:26:31.000+0000" }, { "id": "129152", "author": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:26:31.000+0000", "updated": "2011-04-15T03:26:31.000+0000" }, { "id": "129153", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:26:31.000+0000", "updated": "2011-04-15T03:26:31.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }