{ "id": "167868", "key": "ALOY-1687", "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": "2017-05-23T16:18:41.000+0000", "priority": null, "labels": [ "Alloy", "android", "iOS" ], "versions": [ { "id": "20430", "name": "CLI Release 7.0.10", "archived": false, "released": true } ], "issuelinks": [], "assignee": null, "updated": "2019-05-17T20:50:43.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": [], "description": "In a view, if the LeftNavButtons tag does not have a body, it does not generate the declaration and instantiation of the variable {{leftNavButtons}}. The same happens for {{rightNavButtons}} as well.\r\n\r\nview xml\r\n\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nerror:\r\n\r\n\r\n{noformat}\r\n[ERROR] ReferenceError: Can't find variable: leftNavButtons\r\n{noformat}\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: In Alloy, Empty LeftNavButtons tag generates unrunnable code", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": "iOS\r\nTI SDK: 6.1.0.v20170519131839 (RC Build)\r\nAlloy: 1.10.0\r\nHyperloop: Not enabled", "comment": { "comments": [ { "id": "420287", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I can reproduce the error in iOS. With SDK 6.0.4.GA. Empty LeftNavButtons tag shows error during run. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-05-23T21:21:04.000+0000", "updated": "2017-05-23T21:21:04.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }