{ "id": "83911", "key": "TIMOB-6684", "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": "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" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-13T00:09:22.000+0000", "created": "2011-12-15T02:02:13.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_api", "qe-review", "qe-testadded", "tbs-1.8.1", "verified-1.8.0.1" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14293", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "83812", "key": "AC-2821", "fields": { "summary": "V8 runtime defines Object.prototype.extend which breaks compatibility to qooxdoo javascript framework", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-09-13T00:09:22.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": [], "description": "We currently define Object.prototype.extend for mixin style functionality in platform. Some 3rd party frameworks and modules use the API name \"extend\" in other places which would potentially conflict with our use. We can easily avoid this conflict by using our internal \"kroll\" namespace for this API.\r\n\r\nTo test, just put the following in a test app.js and once run value of extend in the log should be \"undefined\":\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: \"red\"});\r\nwin.open();\r\n\r\nvar x = {};\r\nTi.API.info(\"-------> value of extend for \\\"x\\\" is: \" + x.extend);\r\n\r\nif (x.extend === undefined) {\r\n\tTi.API.info(\"\\\"x\\\" is undefined\");\r\n\r\n} else {\r\n\tTi.API.info(\"\\\"x\\\" is not undefined\");\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Move Object.prototype.extend to the \"kroll\" namespace", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "176220", "author": { "name": "level420", "key": "level420", "displayName": "Dietrich Streifert", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "level420", "key": "level420", "displayName": "Dietrich Streifert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-15T02:26:28.000+0000", "updated": "2011-12-15T02:26:28.000+0000" }, { "id": "176309", "author": { "name": "level420", "key": "level420", "displayName": "Dietrich Streifert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks a lot for fixing this so fast! I've seen its already in the continuous builds as of Dec 15.\r\nBest regards.\r\nDietrich.", "updateAuthor": { "name": "level420", "key": "level420", "displayName": "Dietrich Streifert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-15T22:41:29.000+0000", "updated": "2011-12-15T22:41:29.000+0000" }, { "id": "176949", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fix on:\r\n\r\nSDK build: 1.8.0.1.v20111220190134\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.7.201112152014\r\nDevice: Droid 1 (2.2.2)\r\nOS: Mac OS X Lion\r\n\r\nNote: Will not close bug until verify fix in 1.9.0", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-21T15:44:01.000+0000", "updated": "2011-12-21T15:44:01.000+0000" }, { "id": "214658", "author": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with :\r\nMobile sdk-2.2.0.v20120810080115\r\nTitanium Studio, build: 2.1.1.201207271312\r\nDevice:\r\nGalaxy S III Android version 4.0.4\r\n", "updateAuthor": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T14:25:52.000+0000", "updated": "2012-08-15T14:25:52.000+0000" }, { "id": "218778", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-13T00:08:39.000+0000", "updated": "2012-09-13T00:08:39.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }