{ "id": "84485", "key": "TIMOB-6997", "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": "12093", "description": "", "name": "Sprint 2012-01", "archived": true, "released": true, "releaseDate": "2012-01-15" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-10T00:00:45.000+0000", "created": "2012-01-05T08:46:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_window", "qe-testadded", "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "14450", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "79000", "key": "TIMOB-4946", "fields": { "summary": "iOS: Window titleControl click events get lost", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-10T00:00:45.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": "h3. Problem\r\n\r\nAdding event listener to a window opened using navGroup gives the below error in 1.8.0.1 Titanium SDK.\r\n\r\n[ERROR] Adding an event listener to a proxy that isn't already in the context\r\n\r\nh3. Reproducible steps:\r\n \r\n1. Run the code attached.\r\n2. Click on Open New Window button\r\n3. Click on first window button\r\n4. Repeat the steps 2 & 3 for until you get the message error on the console.\r\n\r\nError message on the console:\r\n[ERROR] Adding an event listener to a proxy that isn't already in the context\r\n\r\nh3. Expected behavior:\r\nCustomer's app crashes eventually with this error message. \r\n\r\nh3. More info:\r\n\r\nUsing the same sample in 1.7.x - we don't see this error message.\r\n\r\n\r\nh3. Tested with the next specs:\r\n\r\nSimulator\r\niOS SDK 5\r\nTitanium Studio, build: 1.0.8.201112291658\r\nTitanium SDK: 1.8.0.1, 1.9.0.v20111221123134 & 1.7.5\r\n\r\nh3. Console Logs:\r\n\r\n{code:title=1.9.0.v20111221123134 Titanium CI Build & iOS 5 SDK—Error Message}\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 1.9.0 (12/21/11 12:31 162895f)\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Launching application in Simulator\r\n[INFO] Launched application in Simulator (7.16 seconds)\r\n[INFO] Found 5.0 patch installed\r\n[INFO] Application started\r\n[INFO] i13582/1.0 (1.9.0.v20111221123134.162895f)\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group[object TiUIiPhoneNavigationGroup]\r\n[INFO] Opening nav group (Create): firstWindow\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[ERROR] Adding an event listener to a proxy that isn't already in the context\r\n{code}\r\n\r\n{code: title=1.8.0.1 Titanium SDK & iOS 5 SDK—Error Message}\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 1.8.0.1 (12/22/11 13:09 fbdc96f)\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Performing full rebuild. This will take a little bit. Hold tight...\r\n[INFO] Skipping JS compile, running from simulator\r\n[INFO] Performing clean build\r\n[INFO] Launching application in Simulator\r\n[INFO] Launched application in Simulator (88.73 seconds)\r\n[INFO] Found 5.0 patch installed\r\n[INFO] Application started\r\n[INFO] i13582/1.0 (1.8.0.1.fbdc96f)\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group[object TiUIiPhoneNavigationGroup]\r\n[INFO] Opening nav group (Create): firstWindow\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[ERROR] Adding an event listener to a proxy that isn't already in the context\r\n{code}\r\n{code: title=1.7.5 Titanium SDK & iOS 5 SDK-No error message}\r\n[INFO] One moment, building ...\r\n[INFO] Titanium SDK version: 1.7.5\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Performing full rebuild. This will take a little bit. Hold tight...\r\n[INFO] Skipping JS compile, running from simulator\r\n[INFO] Performing clean build\r\n[INFO] Launching application in Simulator\r\n[INFO] Launched application in Simulator (85.65 seconds)\r\n[INFO] Found 5.0 patch installed\r\n[INFO] Application started\r\n[INFO] i13582/1.0 (1.7.5.ab20af7)\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group[object TiUIiPhoneNavigationGroup]\r\n[INFO] Opening nav group (Create): firstWindow\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n[INFO] >>> Setting parent nav group\r\n[INFO] Creating nav group\r\n[INFO] >>> Setting win nav group (parent)\r\n[INFO] Opening nav group (Normal): secondWindow\r\n[INFO] Opening second window\r\n{code}\r\nh3. Helpdesk\r\nAPP-554872 \r\n", "attachment": [ { "id": "24934", "filename": "i13582.zip", "author": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T08:46:15.000+0000", "size": 2321596, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Opening Windows with Navigationgroup show an error: [ERROR] Adding an event listener to a proxy that isn't already in the context", "creator": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Simulator\r\nTitanium Studio, build: 1.0.8.201112291658\r\nTitanium SDK: 1.8.0.1 ,1.7.5 & 1.9.0.v20111221123134", "comment": { "comments": [ { "id": "178280", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This may have the common cause. Vishal tried the fix for 4946 on 6997, and it appeared to have fixed the issue.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T17:01:54.000+0000", "updated": "2012-01-05T17:01:54.000+0000" }, { "id": "178311", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Confirmed that the fix for TIMOB-4946 also fixes this issue.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T22:16:53.000+0000", "updated": "2012-01-05T22:16:53.000+0000" }, { "id": "179066", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio 1.9.0.v20120111233134\r\nTi Mob SDK 1.8.0.1\r\nOSX Lion\r\niPhone 4S, iPad 2\r\n\r\nExpected behavior of no error message is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T10:58:21.000+0000", "updated": "2012-01-12T10:58:21.000+0000" }, { "id": "180262", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening and closing this issue to update label and Fix Version field.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T16:11:42.000+0000", "updated": "2012-01-23T16:11:42.000+0000" }, { "id": "181503", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "updated labels", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-02-02T11:50:33.000+0000", "updated": "2012-02-02T11:50:33.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }