{ "id": "176293", "key": "TIMOB-28542", "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": "21265", "description": "", "name": "Release 10.1.1", "archived": false, "released": true, "releaseDate": "2021-11-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-10-05T18:26:28.000+0000", "created": "2021-09-29T11:41:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "regression" ], "versions": [ { "id": "21201", "description": "", "name": "Release 10.1.0", "archived": false, "released": true, "releaseDate": "2021-09-28" } ], "issuelinks": [ { "id": "59325", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "176302", "key": "TIMOB-28549", "fields": { "summary": "iOS: Newline characters in logged strings cause the log to be truncated", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2021-11-17T10:46:56.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": "h5.Description\r\n\r\nWhen logging an object on an iOS simulator it only logs the first bracket and not the full object. This is because of the filtering introduced in [this commit|https://github.com/appcelerator/ioslib/commit/b06258a7558e544a7c4bc482f93bb6b7c03072e9#diff-657691f6709d5e6f2f471b79e5d5fbdc2b5b33f3c4a1c16714fd038f18f735da]\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow()\r\n_window.addEventListener('click', (e) => {\r\n\tconsole.log(e);\r\n})\r\n_window.open();\r\n{code}\r\n\r\n*Workaround*\r\n* Stringify the object before logging it\r\n* Look for the {{Found application log file:}} log and open that file to view the log directly\r\n\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Add the above code to your app.js\r\n2. Build for an iOS simulator\r\n3. Tap the window\r\n\r\nh5.Actual\r\n\r\nOnly \\[INFO\\] : \b\b \b \\{ gets logged\r\n\r\nh5.Expected\r\n\r\nThe entire object should get logged", "attachment": [], "flagged": false, "summary": "iOS: Logging an object on simulator does not show full object", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "comment": { "comments": [ { "id": "459068", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Possible PR: https://github.com/appcelerator/ioslib/pull/214", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-09-29T14:37:14.000+0000", "updated": "2021-09-29T14:37:14.000+0000" }, { "id": "459074", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "Possible to put it into 10.0.1.1?\n\nMany are waiting for that", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-10-05T13:47:17.000+0000", "updated": "2021-10-05T13:47:17.000+0000" }, { "id": "459075", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~benutzername] we don't currently have a full 10.1.1 released lined up as we've not had many issues come from the 10.1.0 release, but I think we will look to backport this and other fixes into 10_1_X to allow people to grab them from a CI build", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-10-05T13:50:42.000+0000", "updated": "2021-10-05T13:50:42.000+0000" }, { "id": "459084", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "This was backported onto the 10_1_X branch", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-10-08T14:09:42.000+0000", "updated": "2021-10-08T14:09:42.000+0000" }, { "id": "459087", "author": { "name": "jonasfunk", "key": "jonasfunk", "displayName": "Jonas Funk Johannessen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Question: When this fix has been backported, will reinstalling 10.1.0.GA fix the issue? ", "updateAuthor": { "name": "jonasfunk", "key": "jonasfunk", "displayName": "Jonas Funk Johannessen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-10-13T06:37:18.000+0000", "updated": "2021-10-13T06:37:18.000+0000" }, { "id": "459088", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~jonasfunk] It means it's available on that branch, so you can install a CI build with {{\\[appc\\] ti sdk install -b 10_1_X}} and get a build with the fix. Already released GA's are never updated, so this fix will most likely go into a 10.2.0.GA (unless we do a 10.1.1.GA)", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-10-13T08:57:01.000+0000", "updated": "2021-10-13T08:57:01.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }