{ "id": "174130", "key": "TIMOB-27399", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [], "resolution": null, "resolutiondate": null, "created": "2019-09-13T18:15:59.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" } ], "issuelinks": [ { "id": "57839", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172631", "key": "TIMOB-26572", "fields": { "summary": "TiAPI: Extend global console API to be more Node-compatible", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": null, "updated": "2019-09-17T14:20:48.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Our test suite suddenly had a mysterious error. The root cause is that a stringified test failure result was longer than an inherent Android log limit. Internal android_log_write caps the messages at 4076 bytes. We do nothing to guard against this or deal with it, so if users call Ti.API.info() with a very long message it will get truncated.\r\n\r\nAndroid itself has a hack in place on the Java side to split messages naturally by any newlines inside of them and log each chunk.\r\n\r\nWe could do the same via a JS shim in our common JS code internal to the SDK for Android. (Since the implementation of APIModule is in C++ and would be more difficult to hack this in).", "attachment": [], "flagged": false, "summary": "Android: Work around android log truncation limit for Ti.API logging", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }