{ "id": "103132", "key": "TIMOB-11385", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14165", "description": "2012 Sprint 21 API", "name": "2012 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-11-13T01:06:12.000+0000", "created": "2012-10-11T17:21:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_tableview", "qe-and100112", "qe-testadded", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21919", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94449", "key": "TIMOB-9944", "fields": { "summary": "iOS: Scroll click event hanging over in event firing for iOS 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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-11-13T01:07:09.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": "Description:\r\nRunTime Error as a result of clicking a tableView row.\r\n\r\nThis is a regression, does not occur in 2.1.3.\r\n\r\nSteps:\r\n1. Run the following code:\r\n{code}\r\n/*\r\n * A simple project based on Single Window Application Template:\r\n * to test minimal cases\r\n */\r\n \r\n//bootstrap and check dependencies\r\nif (Ti.version < 1.8 ) {\r\n alert('Sorry - this application template requires Titanium Mobile SDK 1.8 or later'); \r\n}\r\n \r\n// This is a single context application with mutliple windows in a stack\r\n(function() { \r\n var self = Titanium.UI.createWindow({\r\n title: 'Window',\r\n backgroundColor: 'white',\r\n }); \r\n \r\n \r\n var row;\r\n var data = [];\r\n \r\n for(i=0;i<10;i++) {\r\n var l = Ti.UI.createLabel({text: \"Test row \" + i, left: '10dp', right: '30dp' });\r\n var r = Ti.UI.createTableViewRow({rownumber: i, hasCheck: false, backgroundColor: '#eeeeee', className: 'datarow'});\r\n r.add(l);\r\n data.push(r);\r\n }\r\n \r\n var tv = Ti.UI.createTableView({\r\n data: data,\r\n backgroundColor: 'transparent',\r\n style: Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n minRowHeight: '52dp',\r\n top: '30dp', bottom: '60dp'\r\n });\r\n \r\n tv.addEventListener('click', function(e){\r\n Ti.API.info(\"Row number \" + e.row.rownumber + \" clicked\");\r\n e.row.hasCheck = !e.row.hasCheck;\r\n });\r\n \r\n self.add(tv);\r\n self.open();\r\n})();\r\n{code}\r\n2. Click any row\r\n\r\nExpected:\r\nRow should be clicked and log should display 'Row number # clicked'\r\n\r\nActual:\r\nRunTime Error", "attachment": [ { "id": "32530", "filename": "runtime.png", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T17:21:37.000+0000", "size": 68157, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: TableView - RunTime Error as a result of clicking a tableView row ", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nOS: Mac OS X Lion 10.7.4\r\nTitanium Studio, build: 3.0.0.201210090117\r\nTitanium SDK, build: 3.0.0.v20121010184612\r\nDevice: Samsung Galaxy III (4.0.4)", "comment": { "comments": [ { "id": "223209", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This works with the fix for [TIMOB-11320], I'm going to mark this ticket as a duplicate", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:14:03.000+0000", "updated": "2012-10-11T23:14:03.000+0000" }, { "id": "223210", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of [TIMOB-11320]", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:15:07.000+0000", "updated": "2012-10-11T23:15:07.000+0000" }, { "id": "224068", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Verified and tested on:\r\nTitanium Studio, build: 3.0.0.201210151149\r\nTitanium SDK, builds: 3.0.0.v20121017100120; 3.1.0.v20121017102121\r\nDevice: Nexus 7 (4.1.1)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-17T21:26:03.000+0000", "updated": "2012-10-17T21:26:03.000+0000" }, { "id": "227105", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopen to modify the label and fix versions.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-13T01:04:58.000+0000", "updated": "2012-11-13T01:04:58.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }