{ "id": "172593", "key": "TIMOB-26545", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" }, { "id": "20429", "name": "Release 7.5.1", "archived": false, "released": true, "releaseDate": "2019-02-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-02-25T22:17:50.000+0000", "created": "2018-11-10T20:19:20.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "57077", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172770", "key": "TIMOB-26667", "fields": { "summary": "Windows: Ti.Locale.getString should ignore non-string default value", "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 } } } }, { "id": "56992", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "172605", "key": "TIMOB-26553", "fields": { "summary": "Android: Java code has no means of distinguishing between undefined and null coming from JavaScript", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2019-02-25T22:19:17.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "If the {{L}} method does not receive a second parameter, the fallback string is not displayed if not supplied as a second argument. This works fine on iOS.\r\n\r\nExample:\r\n{code:js}\r\n// Works\r\nL('Hello world', 'Hello world');\r\n\r\n// Does not work on Android, works on iOS\r\nL('Hello world');\r\n{code}\r\n\r\nThis triggered TIMOB-26544 and is kind of a blocker for us.\r\n\r\n*Update*: We now implemented a workaround using the ti.shell feature (in a {{L.bootstrap.js}}):\r\n{code:js}\r\nglobal.Lx = (value, comment) => {\r\n return L(value, comment || value);\r\n};\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Using global L() method for localization does not work if second argument is not supplied", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1103, "state": "closed", "name": "2018 Sprint 25", "startDate": "2018-12-02T16:29:21.531Z", "endDate": "2018-12-16T16:29:00.000Z", "completeDate": "2018-12-15T02:33:24.870Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "443471", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10454", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-10T23:02:04.000+0000", "updated": "2018-11-10T23:02:04.000+0000" }, { "id": "444176", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "If the supplied \"default\" value is a non-string, we now \"reject\" it and treat it as if no default fallback was given.\r\n\r\nIf no default was given, the original key is returned when no corresponding value is found.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2018-12-03T19:26:14.000+0000", "updated": "2018-12-03T19:26:14.000+0000" }, { "id": "444212", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-04T11:18:32.000+0000", "updated": "2018-12-04T11:18:32.000+0000" }, { "id": "446300", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10726", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-25T22:19:17.000+0000", "updated": "2019-02-25T22:19:17.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }