{ "id": "174108", "key": "AC-6362", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2019-09-09T10:29:28.000+0000", "labels": [ "liveview" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-10-08T06:11:32.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I have an issue while running an app with LiveView enabled. In details, when the app reloads (after a file has been modified) the i18n translation function seems to be broken, i.e., instead of seeing the actual translation of the string, I see the translation key.\r\nE.g.:\r\nA string represented by L('key'), whose value is 'test' defined as follow: \r\n\r\n{code:java}\r\nValue\r\n{code}\r\n\r\n - Expected behavior: 'Value'\r\n - Actual behavior: 'my_string_key'", "attachment": [ { "id": "66937", "filename": "info.txt", "author": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-09-12T12:59:23.000+0000", "size": 17461, "mimeType": "text/plain" } ], "flagged": false, "summary": "LiveView breaks i18n string translations when reloads the app", "creator": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mac OS 10.14.6\r\nNode 10.9.0\r\nTi SDK 7.5.0.GA and 8.x\r\nAppc CLI 7.1.1", "comment": { "comments": [ { "id": "451212", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "I tried this out but can't seem to reproduce. For me, the value always remains correct no matter how often I change things, even when changing keys the translations update accordingly.\r\n\r\nCan you share a reproducible project? \r\n\r\nMy setup:\r\n{code}\r\nTitanium SDK 8.0.0.GA and 8.1.0.GA\r\nCLI 7.1.0\r\nMacOS 10.14.6 \r\nNode 10.16.2\r\n{code}", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-09-09T13:47:03.000+0000", "updated": "2019-09-09T13:51:24.000+0000" }, { "id": "451321", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Unfortunately, there still hasn't been a reproducible situation here. So we'll need to know more before we can implement a fix. It must be something regarding your local machine configuration that causes a problem like this.", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-09-12T12:26:12.000+0000", "updated": "2019-09-12T12:26:12.000+0000" }, { "id": "451323", "author": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "body": "As I said to you on Slack I can't share a project my two projects with you. I know that this can't help you but the weird thing is that it also happens an at least other 3 users as you can see in our thread on Slack. \r\nIf it is an issue with my configuration, I attach here what I get from _appc info_.\r\n\r\n [^info.txt] ", "updateAuthor": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-09-12T12:59:24.000+0000", "updated": "2019-09-12T12:59:24.000+0000" }, { "id": "451886", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "I have the same behavior on multiple apps that I maintain. There's no test case as it is pretty random - might happen after 2-3 reloads, then fixes itself, then breaks again, rinse, repeat.", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2019-10-08T06:11:32.000+0000", "updated": "2019-10-08T06:11:32.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }