{ "id": "90421", "key": "TIMOB-8936", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13405", "description": "Sprint 2012-09 API", "name": "Sprint 2012-09 API", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-04T09:06:57.000+0000", "created": "2012-04-17T15:53:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_button", "qe-testadded" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-10T16:43:59.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": "For more info, visit this post:\r\nhttp://developer.appcelerator.com/question/135176/error-adding-an-event-listener-to-a-proxy-that-isnt-already-in-the-context\r\n\r\nProblem - You get the following error in the console: \"[ERROR] Adding an event listener to a proxy that isn't already in the context\".\r\n\r\nI found it using:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar buttonAddFav = Titanium.UI.createButton({\r\n\ttitle : 'add2favs',\r\n\tborderRadius : 8,\r\n\tborderWidth : 1,\r\n\tborderColor : '#111',\r\n\tbackgroundImage : 'none',\r\n\tbackgroundGradient : {\r\n\t\ttype : 'linear',\r\n\t\tcolors : ['#aaa', '#f00']\r\n\t},\r\n\theight : 40,\r\n\twidth : 200,\r\n\ttop : 10,\r\n\tbottom : 10\r\n});\r\n\r\nwin.add(buttonAddFav);\r\n\r\nwin.open();\r\n{code}\r\n\r\nTested using 2.0.1GA2 using the iOS simulator", "attachment": [], "flagged": false, "summary": "iOS: Using backgorund gradient results in Error Adding an event listener to a proxy that isn't already in the context", "creator": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "environment": "OSX, SDK 2.0.1GA2", "comment": { "comments": [ { "id": "199238", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.1.0.201206172244\r\nTi Mobile SDK 2.1.0.v20120619142258 hash r5982b78e\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.1\r\n\r\nThe expected behavior is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-19T16:11:18.000+0000", "updated": "2012-06-19T16:11:18.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }