{ "id": "119992", "key": "TIMOB-15255", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-18T20:30:02.000+0000", "created": "2013-09-16T13:21:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "addeventlistener", "blackberry", "events", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "32574", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "119991", "key": "TIMOB-15256", "fields": { "summary": "BlackBerry: Events not listened give warning on fire: 'Unsupported event name'", "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": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-19T21:39:20.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Not sure what implications this has but still.\r\n\r\nh4.Testcase\r\n{code}\r\nvar i = 1;\r\nfunction test( eventName ) {\r\n\ti++;\r\n\r\n\tif( i % 2 === 0 ) {\r\n\t\tTi.App.addEventListener(eventName, function( e ) {\r\n\t\t //\r\n\t\t});\r\n\t} else {\r\n\t\tTi.API.info(\"not listening to \" + eventName);\r\n\t}\r\n\r\n\tTi.App.fireEvent(eventName);\r\n}\r\n\r\ntest(\"event1\");\r\ntest(\"event2\");\r\ntest(\"event3\");\r\ntest(\"event4\");\r\ntest(\"event5\");\r\n{code}\r\n\r\nh4.Output\r\n{code}[N_WARNING] virtual int NativeProxyObject::fireEvent(const char*, const TiObject*) const Line 52: Unsupported event name event2{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: Events not listened give warning on fire: 'Unsupported event name'", "creator": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti SDK 3.1.3.v20130913160104\r\nStudio 3.2.0.201309142404\r\nOSX 10.8", "comment": { "comments": [ { "id": "275721", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T20:30:02.000+0000", "updated": "2013-10-18T20:30:02.000+0000" }, { "id": "279463", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311122225\nTitanium SDK, build: 3.2.0.v20131113094843\nCLI: 3.2.0\nAlloy: 1.3.0\nBlackBerry Simulator: 10.2.0.1791\n\nConsole logged output\n{code}\n[INFO] not listening to event2\n[INFO] not listening to event4\n{code}\nThis is expected from the code so marking this as closed.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T00:23:40.000+0000", "updated": "2013-11-14T00:23:40.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }