{ "id": "164735", "key": "TIMOB-24185", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-01-24T00:54:58.000+0000", "created": "2016-12-01T00:35:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "console", "parity", "windows" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-25T19:38:24.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": "h6.Reproduce\r\n1. Create a simple default app.\r\n2. Add following code into it\r\n{code}\r\nconst LOG_TAG = '\\x1b[31m' + '[window]' + '\\x1b[39;49m ';\r\nconsole.log(LOG_TAG, '- init');\r\n{code}\r\n3. Run it on Windows device\r\n\r\nh6.Expect\r\nThe output should be \r\n{code}\r\n[window] - init\r\n{code}\r\n\r\nh6.Actual\r\nThe output is\r\n{code}\r\n[window]\r\n{code}\r\n\r\nh6.Note\r\nThis works as expected on android and iOS, but not on windows", "attachment": [], "flagged": false, "summary": "Windows: console log not printing right arguments", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "SDK 6.0.0.GA\r\nCLI 6.0.0\r\nStudio 4.8\r\nWin 10", "closedSprints": [ { "id": 796, "state": "closed", "name": "2017 Sprint 02 SDK", "startDate": "2017-01-15T00:00:41.845Z", "endDate": "2017-01-29T00:00:00.000Z", "completeDate": "2017-01-30T21:10:44.640Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "404689", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/926", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-01-17T10:42:30.000+0000", "updated": "2017-01-17T10:42:30.000+0000" }, { "id": "405296", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix, using the test code provided in the description and also the test code provided in https://github.com/appcelerator/titanium_mobile_windows/pull/926. \r\n\r\nWas able to see the following message for the test code provided in the description.\r\n{code:java}\r\n[INFO] [window]\u001b[39;49m - init\r\n{code}\r\nAnd was able to see the following message in the console from the test case in https://github.com/appcelerator/titanium_mobile_windows/pull/926. \r\n{code:java}\r\n[INFO] : TEST\r\n[INFO] : TEST1 TEST2 TEST3\r\n{code}\r\n\r\n*Environment*\r\n{code:java}\r\n\r\nLumia 640 LTE (RM-1073) (OS Build 10.0.14393.693)\r\nOperating System\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 64bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js\r\nNode.js Version = 4.6.0 \r\nnpm Version = 2.11.3\r\n \r\nTitanium SDK\r\nSDK Version = 6.1.0.v20170125103400\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-25T19:38:11.000+0000", "updated": "2017-01-25T19:38:11.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }