{ "id": "108201", "key": "TIMOB-12393", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-07-06T21:32:54.000+0000", "created": "2013-01-21T14:36:09.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-06T21:32:57.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Problem description*\r\nThe click event on Apple row (which is added in section) is not getting fired while which is added in table main section is getting called in 3.0 GA release. This looks like a regression.\r\n\r\n*Test case*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar sectionFruit = Ti.UI.createTableViewSection({\r\n\theaderTitle : 'Fruit'\r\n});\r\n\r\nsectionFruit.add(Ti.UI.createTableViewRow({\r\n\ttitle : 'Apples'\r\n}));\r\n\r\nvar table = Ti.UI.createTableView({\r\n\tsections : [sectionFruit] // Replace 'sections' with 'data'\r\n});\r\n\r\nwin.add(table);\r\n\r\nvar newrow = Ti.UI.createTableViewRow({\r\n\ttitle : 'new Row'\r\n});\r\n\r\ntable.appendRow(newrow);\r\n\r\ntable.addEventListener('click', function(e) {\r\n\talert('Clicked e');\r\n});\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Click event on table row added in section is not getting fired", "creator": { "name": "virendrapatidar", "key": "virendrapatidar", "displayName": "virendra patidar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "virendrapatidar", "key": "virendrapatidar", "displayName": "virendra patidar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 3.0 GA, iOS 6", "comment": { "comments": [ { "id": "235427", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi virenda,\r\n\r\nPlease use \"data\" in place of the \"sections\" property. The sections property is intended to \"get\" sections, but not to set them. See the updated test case.\r\n\r\nClosing as invalid.\r\n\r\nCheers.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T00:10:04.000+0000", "updated": "2013-01-23T00:10:04.000+0000" }, { "id": "235523", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening, since *sections* was introduced in 3.0 For a workaround, use *data* as Daniel suggested", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T18:36:38.000+0000", "updated": "2013-01-23T18:37:29.000+0000" }, { "id": "235693", "author": { "name": "virendrapatidar", "key": "virendrapatidar", "displayName": "virendra patidar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "yes working with data.. but support for setSections can be added in future releases.", "updateAuthor": { "name": "virendrapatidar", "key": "virendrapatidar", "displayName": "virendra patidar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-24T07:11:47.000+0000", "updated": "2013-01-24T07:12:45.000+0000" }, { "id": "423622", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The click event is fired on the application and I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-06T21:32:54.000+0000", "updated": "2017-07-06T21:32:54.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }