{
"id": "132506",
"key": "ALOY-1068",
"fields": {
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
},
"project": {
"id": "11113",
"key": "ALOY",
"name": "Alloy",
"projectCategory": {
"id": "10400",
"description": "Tools for developing applications",
"name": "Tooling"
}
},
"fixVersions": [
{
"id": "15909",
"description": "Alloy 1.5.0",
"name": "Alloy 1.5.0",
"archived": false,
"released": true,
"releaseDate": "2014-09-29"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2014-07-18T19:30:35.000+0000",
"created": "2014-07-02T14:58:25.000+0000",
"priority": {
"name": "Medium",
"id": "3"
},
"labels": [
"alloy",
"i18n",
"label",
"qe-manualtest",
"view",
"xml"
],
"versions": [],
"issuelinks": [],
"assignee": {
"name": "fmiao",
"key": "fmiao",
"displayName": "Feon Sua Xin Miao",
"active": true,
"timeZone": "America/Vancouver"
},
"updated": "2014-08-25T18:28:33.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": "14203",
"name": "I18N",
"description": "Internationalization"
},
{
"id": "12326",
"name": "XML",
"description": "View XML and parsing"
}
],
"description": "h6. 1. Use following sample\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nh6. 2. Build and run\r\nResults in Alloy runtime error.\r\n{code}\r\n[ERROR] : Script Error {\r\n[ERROR] : backtrace = \"#0 () at file:///Users/fmiao/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/5E942DE7-5E41-4DE0-81EF-D3CB0000304A/ALOY-1052.app/alloy.js:231\";\r\n[ERROR] : line = 46;\r\n[ERROR] : message = \"Can't find variable: foo\";\r\n[ERROR] : name = ReferenceError;\r\n[ERROR] : sourceId = 349641088;\r\n[ERROR] : sourceURL = \"file:///Users/fmiao/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/5E942DE7-5E41-4DE0-81EF-D3CB0000304A/ALOY-1052.app/alloy/controllers/index.js\";\r\n[ERROR] : }\r\n{code}",
"attachment": [],
"flagged": false,
"summary": "Runtime error if Label's text attribute starts with L() alias in quotes",
"creator": {
"name": "fmiao",
"key": "fmiao",
"displayName": "Feon Sua Xin Miao",
"active": true,
"timeZone": "America/Vancouver"
},
"subtasks": [],
"reporter": {
"name": "fmiao",
"key": "fmiao",
"displayName": "Feon Sua Xin Miao",
"active": true,
"timeZone": "America/Vancouver"
},
"environment": "Alloy 1.4.0-rc3",
"closedSprints": [
{
"id": 151,
"state": "closed",
"name": "2014 Sprint 14 Alloy",
"startDate": "2014-07-07T16:06:55.791Z",
"endDate": "2014-07-21T16:06:00.000Z",
"completeDate": "2014-07-21T15:07:08.207Z",
"originBoardId": 124
}
],
"comment": {
"comments": [
{
"id": "312480",
"author": {
"name": "fmiao",
"key": "fmiao",
"displayName": "Feon Sua Xin Miao",
"active": true,
"timeZone": "America/Vancouver"
},
"body": "PR: https://github.com/appcelerator/alloy/pull/472\r\nTest app: https://github.com/feons/alloy/tree/ALOY-1068/test/apps/testing/ALOY-1068\r\n\r\nFunctional Test:\r\n\r\n 1. Run test app on iOS\r\n 2. No runtime error, and {{}} should display as {{L(foo)}}\r\n\r\n",
"updateAuthor": {
"name": "fmiao",
"key": "fmiao",
"displayName": "Feon Sua Xin Miao",
"active": true,
"timeZone": "America/Vancouver"
},
"created": "2014-07-07T03:21:52.000+0000",
"updated": "2014-07-07T03:21:52.000+0000"
},
{
"id": "314651",
"author": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"body": "Per our discussion, we'll implement the following:\r\n\r\nAny instance of {{L(}} will be treated as a trigger to implement the localization functionality. In other words, all three of the following forms should output the i18n string value for the key 'foo'\r\n\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n{code}",
"updateAuthor": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"created": "2014-07-17T15:01:29.000+0000",
"updated": "2014-07-17T15:01:29.000+0000"
},
{
"id": "314750",
"author": {
"name": "fmiao",
"key": "fmiao",
"displayName": "Feon Sua Xin Miao",
"active": true,
"timeZone": "America/Vancouver"
},
"body": "Updated PR, now all three usage mention above will output the i18n string value for the key 'foo'.",
"updateAuthor": {
"name": "fmiao",
"key": "fmiao",
"displayName": "Feon Sua Xin Miao",
"active": true,
"timeZone": "America/Vancouver"
},
"created": "2014-07-18T02:12:10.000+0000",
"updated": "2014-07-18T02:12:10.000+0000"
},
{
"id": "314862",
"author": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"body": "Works as expected, PR merged.",
"updateAuthor": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"created": "2014-07-18T19:30:35.000+0000",
"updated": "2014-07-18T19:30:35.000+0000"
},
{
"id": "320153",
"author": {
"name": "eharris",
"key": "eharris",
"displayName": "Ewan Harris",
"active": true,
"timeZone": "Europe/Dublin"
},
"body": "Verified fix on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201408210941\r\nTitanium SDK build: 3.4.0.v20140813022514 \r\nTitanium CLI, build: 3.4.0-dev\r\nAlloy: 1.5.0-dev\r\niOS Device 5S (8.0b5)\r\niOS Simulator 7.1\r\n\r\nRan the test app on device and simulator, all the labels display 'foo'.\r\n\r\nClosing ticket.",
"updateAuthor": {
"name": "eharris",
"key": "eharris",
"displayName": "Ewan Harris",
"active": true,
"timeZone": "Europe/Dublin"
},
"created": "2014-08-25T18:28:05.000+0000",
"updated": "2014-08-25T18:28:05.000+0000"
}
],
"maxResults": 5,
"total": 5,
"startAt": 0
}
}
}