{ "id": "102239", "key": "TIMOB-11176", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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": "2013-03-26T08:34:39.000+0000", "created": "2012-09-26T21:21:38.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity", "qe-ios090112" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "21576", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "99350", "key": "TIMOB-10477", "fields": { "summary": "Android: The app crashes on launch on Android", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21579", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "93483", "key": "TIMOB-9640", "fields": { "summary": "Android: 'postlayout' event is not triggered", "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 } } } } ], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:58:35.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": "Description:\r\nPostlayout table event fired 3 times on iOS and alert appears 3 times as well.\r\n\r\nThis is not a regression, occurs on 2.1.2.\r\n\r\nSteps:\r\n1. Run the following code and check the console:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white',\r\n title:'test',\r\n modal:true\r\n});\r\n \r\nvar data1 = [];\r\n \r\nvar tvr = Ti.UI.createTableViewRow({\r\n title:'pippo',\r\n hasChild:true\r\n});\r\ndata1.push(tvr);\r\n \r\nvar table = Ti.UI.createTableView({\r\n top: 10,\r\n left: 10,\r\n width: 200, \r\n height: 200,\r\n scrollable: false,\r\n borderRadius: 10,\r\n backgroundColor: 'white',\r\n data : data1\r\n});\r\ntable.addEventListener('postlayout', function() {\r\n setTimeout(function(){\r\n Ti.API.info('#### postlayout table event received.');\r\n alert('postlayout table event fired');\r\n },600);\r\n});\r\nwin.add(table);\r\n \r\nwin.open();\r\n{code}\r\n\r\nExpected result:\r\nPostlayout table event should be fired only once, also should see one alert \"postlayout table event fired\"\r\n\r\nActual result:\r\nPostlayout table event fired 3 times, and alert appears 3 times as well.", "attachment": [], "flagged": false, "summary": "iOS: TableView - Postlayout table event fired 3 times", "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: 2.1.2.201208301612 \r\nTitanium SDK, build: 2.1.3.v20120925173111 \r\nDevices: iPhone 4S (6.0.GM), iPhone 4S (4.3.5)", "comment": { "comments": [ { "id": "244100", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T08:34:39.000+0000", "updated": "2013-03-26T08:34:39.000+0000" }, { "id": "414511", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:58:35.000+0000", "updated": "2017-03-21T21:58:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }