{ "id": "102308", "key": "ALOY-305", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14177", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14176", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": false, "released": true, "releaseDate": "2012-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-27T20:37:30.000+0000", "created": "2012-09-27T17:25:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:50.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "REPRODUCTION:\r\nSee code below. Ran on iPhone emulator.\r\n\r\nRESULTS:\r\nClick event (as well as others) is not executing the callback.\r\n\r\nWORKAROUNDS:\r\nPlace \"win2\" inside it's own view and require it in the main view. Callbacks work. Also, using the $.win2.on or $.win2.addEventListener method work in the controller.\r\n\r\nindex.xml:\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nindex.js:\r\n{code}\r\nfunction report (e) {\r\n\tTi.API.info(\"event fired:\" + e.type);\t\r\n}\r\n$.index.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Event callbacks defined in markup are not working for Windows defined in NavigationGroup", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Alloy - master from 9/24\r\nTitanium v2.1.2.GA\r\nMac OS v10.7.5\r\niPhone SDK v5.1", "comment": { "comments": [ { "id": "221246", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed in NavGroup and SplitWindow. No other current parsers contained this error. Fix will be available in 0.2.36 soon.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T20:37:30.000+0000", "updated": "2012-09-27T20:37:30.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }