{ "id": "149325", "key": "TIMOB-19125", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-01T13:16:43.000+0000", "created": "2015-07-01T09:25:16.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "updated": "2015-07-01T21:16:27.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "The following example will crash on {{console.debug}}:\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow();\r\nvar btn = Ti.UI.createButton({\r\n\ttitle: 'Click',\r\n\tcolor: 'red'\r\n});\r\nbtn.addEventListener('click', function(e) {\r\n\tTi.API.info('hello Ti.API.info');\r\n\tTi.API.debug('hello Ti.API.debug');\r\n\tconsole.info('hello console.info');\r\n\tconsole.debug('hello console.debug');\r\n});\r\nwin.add(btn);\r\nwin.open();\r\n{code}\r\n\r\nThis is because {{console.debug}} is not mapped to {{Ti.API.debug}} here:\r\nhttps://github.com/appcelerator/titanium_mobile_windows/blob/master/Source/TitaniumKit/src/ApplicationBuilder.cpp#L241-L245", "attachment": [], "flagged": false, "summary": "Windows: console.debug is not implemented", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 4.1.0 beta (4.1.0.v20150626223333)", "closedSprints": [ { "id": 436, "state": "closed", "name": "2015 Sprint 13 Windows", "startDate": "2015-06-20T23:02:43.965Z", "endDate": "2015-07-04T23:02:00.000Z", "completeDate": "2015-07-06T14:03:22.174Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "356528", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "PR on master: https://github.com/appcelerator/titanium_mobile_windows/pull/342", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-01T09:27:53.000+0000", "updated": "2015-07-01T09:27:53.000+0000" }, { "id": "356619", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nWe now see debug logs : {code}[DEBUG] : hello console.debug{code}\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio: 4.1.0.201506261427\r\nTi SDK: 4.1.0.v20150701131146\r\nTi CLI: 4.0.1\r\nAlloy: 1.6.2\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.1.0-1\r\nAPPC CLI: 4.1.0-4 \r\nWindows emulator : 8.1\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-01T21:14:04.000+0000", "updated": "2015-07-01T21:14:04.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }