{
"id": "115116",
"key": "ALOY-678",
"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": "15402",
"description": "Alloy 1.2.0, concurrent with SDK 3.1.0",
"name": "Alloy 1.2.0",
"archived": false,
"released": true,
"releaseDate": "2013-08-15"
},
{
"id": "15489",
"description": "2013 Sprint 12",
"name": "2013 Sprint 12",
"archived": true,
"released": true,
"releaseDate": "2013-06-17"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2013-06-12T20:29:21.000+0000",
"created": "2013-05-29T15:48:54.000+0000",
"priority": {
"name": "High",
"id": "2"
},
"labels": [
"qe-testadded"
],
"versions": [
{
"id": "15402",
"description": "Alloy 1.2.0, concurrent with SDK 3.1.0",
"name": "Alloy 1.2.0",
"archived": false,
"released": true,
"releaseDate": "2013-08-15"
}
],
"issuelinks": [],
"assignee": {
"name": "tlukasavage",
"key": "tlukasavage",
"displayName": "Tony Lukasavage",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2013-07-15T21:46:10.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": "12329",
"name": "Runtime",
"description": "Generic bucket for uncategorized runtime issues"
},
{
"id": "12326",
"name": "XML",
"description": "View XML and parsing"
}
],
"description": "In the new Alloy 1.2.0 it is possible to define ListView ItemTemplates in the View.xml (#ALOY-608)\r\n\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nYou can't use Ti.UI.View with child Views however. (It works without child Views though)\r\n\r\nWorks:\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nDoes not work:\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nThis can be solved to allow further nesting of childTemplates. See http://docs.appcelerator.com/titanium/latest/#!/guide/ListViews-section-37521650_ListViews-ItemTemplate\r\n\r\nIt might be that it is already implemented, but that I hit a bug, because the generated code fails on:\r\n\r\n{code}\r\nvar __alloyId32={type:'Ti.UI.View',var __alloyId33=[]\r\n{code}\r\n\r\n{code}\r\n[ERROR] : \b\b \bAlloy compiler failed\r\n{code}",
"attachment": [
{
"id": "39778",
"filename": "Screen Shot 2013-06-12 at 4.19.47 PM.png",
"author": {
"name": "tlukasavage",
"key": "tlukasavage",
"displayName": "Tony Lukasavage",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2013-06-12T20:29:46.000+0000",
"size": 48931,
"mimeType": "image/png"
},
{
"id": "39779",
"filename": "Screen Shot 2013-06-12 at 4.19.57 PM.png",
"author": {
"name": "tlukasavage",
"key": "tlukasavage",
"displayName": "Tony Lukasavage",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2013-06-12T20:29:46.000+0000",
"size": 38555,
"mimeType": "image/png"
}
],
"flagged": false,
"summary": "Adding child Views to Ti.UI.View in ItemTemplate fails",
"creator": {
"name": "timanrebel",
"key": "timanrebel",
"displayName": "Timan Rebel",
"active": true,
"timeZone": "Europe/London"
},
"subtasks": [],
"reporter": {
"name": "timanrebel",
"key": "timanrebel",
"displayName": "Timan Rebel",
"active": true,
"timeZone": "Europe/London"
},
"environment": "Alloy 1.2.0",
"comment": {
"comments": [
{
"id": "257443",
"author": {
"name": "tlukasavage",
"key": "tlukasavage",
"displayName": "Tony Lukasavage",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "PR: https://github.com/appcelerator/alloy/pull/155\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-678\r\n\r\nThis test will functionally pass simply by running on both iOS and Android, showing all of the ugly, nested rows contained in the app. I attached 2 screenshots to show the expected state of the loaded app on android and ios.",
"updateAuthor": {
"name": "tlukasavage",
"key": "tlukasavage",
"displayName": "Tony Lukasavage",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2013-06-12T20:29:21.000+0000",
"updated": "2013-06-12T20:29:21.000+0000"
},
{
"id": "261883",
"author": {
"name": "fcasali",
"key": "fcasali",
"displayName": "Federico Casali",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Verified as fixed.\n\nEnvironment:\nTitanium SDK 3.1.2.v20130710144553\nAppcelerator Studio 3.1.2.201307101037\nAlloy 1.2.0\nAndroid device 4.2.2 and iOS 5\n\nClosing.",
"updateAuthor": {
"name": "fcasali",
"key": "fcasali",
"displayName": "Federico Casali",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2013-07-15T21:45:48.000+0000",
"updated": "2013-07-15T21:45:48.000+0000"
}
],
"maxResults": 2,
"total": 2,
"startAt": 0
}
}
}