{ "id": "173985", "key": "TIMOB-27313", "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": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-08-19T09:17:12.000+0000", "created": "2019-08-07T04:19:21.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "console", "engSchedule", "regression" ], "versions": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-08-19T09:17:12.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": "Steps to Reproduce:\r\n1.Create a classic app\r\n2.Run on IOS\r\n*Expected:*\r\nshould log movie size\r\n*Actual:*\r\ndisplays only the first argument\r\n\r\nnotes:\r\nif using concatenation like \"console.log(e.type + ' e.naturalSize ' + JSON.stringify(e.naturalSize))\" then logging correctly.\r\nconsole.log is working fine on 8.0.2 GA and below.not working on 8.1.0\r\n\r\nApp.js:\r\n{code}\r\nconst win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n \r\nconst player = Ti.Media.createVideoPlayer({\r\n url: 'http://techslides.com/demos/sample-videos/small.mp4', // 560x320\r\n showsControls: false,\r\n autoplay: true,\r\n height: 200\r\n});\r\nwin.add(player);\r\n \r\nfunction onNaturalSizeAvailable(e) {\r\n console.log(e.type, 'e.naturalSize', JSON.stringify(e.naturalSize));\r\n console.log('player.naturalSize', e.source.naturalSize);\r\n\r\n//comment out the above 2 lines and uncomment the below 2 lines\r\n//console.log(e.type + ' e.naturalSize ' + JSON.stringify(e.naturalSize));\r\n // console.log('player.naturalSize ' + JSON.stringify(e.source.naturalSize));\r\n}\r\nplayer.addEventListener('naturalsizeavailable', onNaturalSizeAvailable);\r\n \r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "IOS:Regression-Console.log does not concatenate and log if it has multiple arguments with space", "creator": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Name = Mac OS X\r\n Version = 10.14.5\r\n Architecture = 64bit\r\nNode.js\r\n Node.js Version = 10.16.0\r\n npm Version = 6.9.0\r\nTitanium CLI\r\n CLI Version = 5.2.1\r\nTitanium SDK\r\n SDK Version = 8.1.0.v20190806133356\r\nDevice = iPhone X iOS 11\r\nSimulator = Iphone XR iOS 12.4", "closedSprints": [ { "id": 1157, "state": "closed", "name": "2019 Sprint 16", "startDate": "2019-07-29T15:35:47.313Z", "endDate": "2019-08-11T15:35:00.000Z", "completeDate": "2019-08-12T07:57:02.552Z", "originBoardId": 114 }, { "id": 1160, "state": "closed", "name": "2019 Sprint 17", "startDate": "2019-08-12T07:59:28.950Z", "endDate": "2019-08-25T07:59:00.000Z", "completeDate": "2019-08-26T15:35:29.980Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "450321", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (8_1_X) - https://github.com/appcelerator/titanium_mobile/pull/11125\r\nPR (master) - https://github.com/appcelerator/titanium_mobile/pull/11124\r\n\r\nTest Case -\r\n\r\n{code:java}\r\n\r\nconst win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\nconst button = Ti.UI.createButton({\r\n title: 'Log'\r\n});\r\n\r\nbutton.addEventListener('click', function(e){\r\n console.log(1, ' test', true);\r\n});\r\n\r\nwin.add(button);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-07T20:25:11.000+0000", "updated": "2019-08-07T20:25:11.000+0000" }, { "id": "450400", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed on Master and 8_1_X, waiting on Jenkins builds.\r\n\r\n[~vijaysingh] Also looks like we need a PR for 8_3_X ?", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-12T16:23:27.000+0000", "updated": "2019-08-12T16:23:27.000+0000" }, { "id": "450409", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR(8_3_X) - https://github.com/appcelerator/titanium_mobile/pull/11138", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-12T20:58:41.000+0000", "updated": "2019-08-12T20:58:41.000+0000" }, { "id": "450432", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for 8_3_X as well waiting on Jenkins build.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-13T12:39:13.000+0000", "updated": "2019-08-13T12:39:13.000+0000" }, { "id": "450561", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket fix verified in SDK version {{8.2.0.v20190816144236}}, {{8.3.0.v20190816105756}} and {{8.1.0.GA}}.\r\n\r\nTest and other information can be found at: \r\nPR (8_1_X) - https://github.com/appcelerator/titanium_mobile/pull/11125\r\nPR (master) - https://github.com/appcelerator/titanium_mobile/pull/11124\r\nPR(8_3_X) - https://github.com/appcelerator/titanium_mobile/pull/11138 ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-19T09:17:02.000+0000", "updated": "2019-08-19T09:17:02.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }