{ "id": "86910", "key": "TIMOB-7796", "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": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13277", "name": "Sprint 2012-08", "archived": true, "released": true, "releaseDate": "2012-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-20T16:25:28.000+0000", "created": "2012-02-23T17:39:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "parity" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "16736", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "90604", "key": "TIMOB-8802", "fields": { "summary": "Android: Accessing row and rowData properties (non-propertyAccessors) has different results for TableView", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "17404", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "92145", "key": "TIMOB-9189", "fields": { "summary": "Android: TableView - V8: Last item in table view gets shifted in and off alignment from the rest", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-05-23T12:40:07.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": "The sample case is the KitchenSink app on Android. Please follow these steps to reproduce:\r\n\r\n1. Navigate to Resources/examples/table_view_basic.js and table_view_api_basic.js files\r\n2. Go to showClickEventInfo(e, islongclick) function\r\n3. Add a small line to access the e.row.title and e.rowData.title properties.\r\n\r\nThe issue is that with the tableview created in table_view_api_basic.js file, the title can be accessed through both e.rowData.title and e.row.title but in table_view_basic.js file, this is not the case.\r\n\r\nPlease clarify about this issue.", "attachment": [], "flagged": false, "summary": "Android: Accessing row and rowData properties has different results for TableView ", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Product: Mobile\r\nTitanium SDK: Mobile 1.8.0.1\r\nPlatform OS: Android\r\nPlatform OS Version: 3.2", "comment": { "comments": [ { "id": "185305", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Neeraj and Varun,\r\n\r\n\r\nthis issue is invalid. Starting from 1.8 SDK, when rows are created explicitly (by using \"createTableViewRow\"), they can be accessed in event listener as \"e.row\", while when they are created implicitly (by using JS object, like { title: \"Table view row\" }), then \"e.rowData\" has to be used. Before 1.8 there was no difference between this two.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-03-07T00:58:47.000+0000", "updated": "2012-03-07T00:58:47.000+0000" }, { "id": "185473", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The row property should exist regardless of how the table view row was created. The rowData property should only exist when the old method of row creation is used (via setting the data property on the TableViewProxy).\r\n", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-07T22:56:59.000+0000", "updated": "2012-03-07T22:56:59.000+0000" }, { "id": "185487", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Ah, I see, thanks for clarifying that. Could that be mentioned in documentation?", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-03-08T02:56:47.000+0000", "updated": "2012-03-08T02:56:47.000+0000" }, { "id": "185545", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Will do.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-08T10:23:14.000+0000", "updated": "2012-03-08T10:23:14.000+0000" }, { "id": "187553", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "+1 on adding that to documentation - just ran into this problem tonight and finding issues between android and iOS recognising rowData.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2012-03-20T15:56:23.000+0000", "updated": "2012-03-20T15:56:23.000+0000" }, { "id": "194209", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Tested with \r\n\r\n2.1CI\r\n2.0.2CI\r\n\r\nwith the client's code. \r\n\r\nWorking fine. Closing as per Alan's request. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-05-08T17:15:28.000+0000", "updated": "2012-05-08T17:15:28.000+0000" }, { "id": "195811", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The classname property does not stay consistent in both cases since we manually set it to normal in one of the cases. There is a bug filed for this: TIMOB-9208", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-23T12:40:07.000+0000", "updated": "2012-05-23T12:40:07.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }