{
"id": "129925",
"key": "ALOY-1005",
"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": "15758",
"description": "Alloy 1.4.0",
"name": "Alloy 1.4.0",
"archived": false,
"released": true,
"releaseDate": "2014-07-17"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2014-05-23T17:33:13.000+0000",
"created": "2014-05-03T12:44:46.000+0000",
"priority": {
"name": "High",
"id": "2"
},
"labels": [
"alloy",
"compile",
"qe-testadded"
],
"versions": [
{
"id": "15759",
"description": "Alloy 1.3.1",
"name": "Alloy 1.3.1",
"archived": false,
"released": true,
"releaseDate": "2014-02-10"
}
],
"issuelinks": [
{
"id": "37796",
"type": {
"id": "10011",
"name": "Includes",
"inward": "is included by",
"outward": "includes"
},
"inwardIssue": {
"id": "115531",
"key": "ALOY-691",
"fields": {
"summary": "Alloys Data Binding feature does not respect platform property",
"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
}
}
}
}
],
"assignee": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"updated": "2014-06-22T13:21:04.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": "13604",
"name": "Tooling",
"description": "Items related to Alloy tooling and workflow"
}
],
"description": "Having separate views per platform in the same xml, if we require a file that exists only in the specific folder the alloy compiler will die when trying to compile for the other platform.\r\n\r\n{code:title=index.xml}\r\n\r\n\r\n\t\r\n\t\t\r\n\r\n\t \t \r\n\r\n\t\r\n\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n\r\n{code}\r\n\r\nTrying to compile for android will lead to this:\r\n\r\n{code:title=Alloy compile error}\r\n[DEBUG] \r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [global style] loading from cache...\r\n[INFO] [index.xml] view processing...\r\n[INFO] style: \"index.tss\"\r\n[INFO] view: \"index.xml\"\r\n[ERROR] view \"toRequire\" does not exist.\r\n[ERROR] The following paths were inspected:\r\n[ERROR] /Volumes/Work/tst/app/views/android/toRequire\r\n[ERROR] /Volumes/Work/tst/app/views/toRequire\r\n[ERROR] Alloy compiler failed\r\n{code}\r\n\r\n\r\n*toRequire.xml* needs to exist *ONLY* in the *app/views/ios* folder for the bug to show up.\r\n\r\nThe workaround is to create an empty file in the android folder with the same name (toRequire.xml)\r\n",
"attachment": [],
"flagged": false,
"summary": "Alloy doesn't care about the platform attr (parent or itself)",
"creator": {
"name": "rborn",
"key": "rborn",
"displayName": "Dan Tamas",
"active": true,
"timeZone": "Europe/Berlin"
},
"subtasks": [],
"reporter": {
"name": "rborn",
"key": "rborn",
"displayName": "Dan Tamas",
"active": true,
"timeZone": "Europe/Berlin"
},
"environment": "Ti SDK 3.2.3.GA, 3.2.2.GA, Android, Alloy 1.3.1, osX",
"comment": {
"comments": [
{
"id": "303391",
"author": {
"name": "core13",
"key": "core13",
"displayName": "Malcolm Hollingsworth",
"active": true,
"timeZone": "Europe/London"
},
"body": "I have also tested this with Dan Tamas and I experience the exact same results.\r\n\r\nThe trigger for failure is the tag - it does not honour its parents platform attribute. \r\n\r\nMany many tests in various combinations show this simply fails.",
"updateAuthor": {
"name": "core13",
"key": "core13",
"displayName": "Malcolm Hollingsworth",
"active": true,
"timeZone": "Europe/London"
},
"created": "2014-05-03T13:05:22.000+0000",
"updated": "2014-05-03T13:05:22.000+0000"
},
{
"id": "303786",
"author": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Moving this ticket to engineering as I can reproduce this issue with the provided test case.",
"updateAuthor": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-05-07T06:01:29.000+0000",
"updated": "2014-05-07T06:01:29.000+0000"
},
{
"id": "306260",
"author": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"body": "This ticket has been fixed by a change made in the linked ticket",
"updateAuthor": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"created": "2014-05-23T17:32:41.000+0000",
"updated": "2014-05-23T17:32:41.000+0000"
},
{
"id": "306261",
"author": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"body": "Resolved by a change made as part of the fixes for ALOY-691.",
"updateAuthor": {
"name": "skypanther",
"key": "skypanther",
"displayName": "Tim Poulsen",
"active": true,
"timeZone": "America/New_York"
},
"created": "2014-05-23T17:33:13.000+0000",
"updated": "2014-05-23T17:33:13.000+0000"
},
{
"id": "306339",
"author": {
"name": "fcasali",
"key": "fcasali",
"displayName": "Federico Casali",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Verified fixed on iOS, Android and MobileWeb.\r\n\r\nTiSDK 3.3.0.v20140522144936\r\nAlloy 1.4.0-alpha4\r\nAppcelerator Studio 3.3.0.201405211748\r\nCLI 3.3.0-alpha5\r\n\r\nClosing.",
"updateAuthor": {
"name": "fcasali",
"key": "fcasali",
"displayName": "Federico Casali",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-05-23T22:07:51.000+0000",
"updated": "2014-05-23T22:07:59.000+0000"
}
],
"maxResults": 5,
"total": 5,
"startAt": 0
}
}
}