{ "id": "174873", "key": "ALOY-1728", "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": [], "resolution": null, "resolutiondate": null, "created": "2020-03-31T08:55:03.000+0000", "priority": null, "labels": [ "9.0.0", "alloy", "buttonbar" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-12-09T13:01:10.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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "The problem is incapsulation inside views. If I remove or put it out of the views all works fine.\r\n\r\n{code:java}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \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", "attachment": [ { "id": "67749", "filename": "Bildschirmfoto 2020-12-09 um 11.39.00.png", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-12-09T13:00:45.000+0000", "size": 46806, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy compiler failed using TabbedBar/ButtonBar with SDK 9.0.0", "creator": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "environment": null, "comment": { "comments": [ { "id": "454912", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~otto.pic] Did this work for you prior to SDK 9? I can reproduce this on 8.X SDKs also (and I wouldn't expect the SDK to matter here). It looks like this is specifically down to the ItemTemplate usage. Full code reproduction below\r\n\r\n{code}\r\n\r\n \r\n \r\n \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}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-03-31T11:41:47.000+0000", "updated": "2020-03-31T11:50:20.000+0000" }, { "id": "454914", "author": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "body": "Yes I can confirm that I have the same problem with 8.3.1.GA sdk. Putting TabbedBar outside of the view of the template all works.\r\nI found this error using liveview changing template \"without TabbedBar\" to \"with TabbedBar inside the View\":\r\n\r\n{code:java}\r\n/Users/username/.appcelerator/install/7.1.2/package/node_modules/alloy/Alloy/commands/compile/parsers/default.js:98\r\n return childTemplates + '.push(' + state.item.symbol + ');';\r\n{code}\r\n", "updateAuthor": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "created": "2020-03-31T13:41:43.000+0000", "updated": "2020-03-31T13:41:43.000+0000" }, { "id": "457842", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is a severe bug preventing some layouts, especially on Android. See my screenshot and trace-log via slack: https://ti-slack.slack.com/archives/C03CVQX2A/p1607510385086900", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-12-09T10:57:35.000+0000", "updated": "2020-12-09T10:57:35.000+0000" }, { "id": "457844", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Considering Slack is not a good archive, I've attached the screenshot, trace-log is here: https://gist.github.com/hansemannn/0e95f891725df9a7d9dc790be7fb301c", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-12-09T13:01:10.000+0000", "updated": "2020-12-09T13:01:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }