{ "id": "163283", "key": "AC-4469", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-11-01T15:34:14.000+0000", "created": "2016-09-18T09:59:06.000+0000", "labels": [ "alloy", "android", "button" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-11-16T18:24:31.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "Button title is not set on android when non visiual characters (line break/whitespace)\r\nare used in following alloy definition:\r\n\r\n{code:java}\r\n\r\n\r\n\r\n\r\n\r\n{code}\r\n\r\nI would expect that both button definition's would work,\r\nbut when I take a look at the derived files I can see that the buttons title\r\nattribute is not set for the second button definition.\r\nIn my opinion the label shouldn't have any affect at all cause\r\nthe label is marked as ios only element.\r\n\r\nSample project:\r\nhttps://github.com/MichelBahl/AC-4469", "attachment": [], "flagged": false, "summary": "Alloy Android button element does not set title attribute", "creator": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MAC OS El Capitan\r\n5.4.0GA", "comment": { "comments": [ { "id": "398858", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, The issue is not reproducible with your sample code. I did a format on the studio and here is the code looks like\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\nI see only one button on the middle. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-10-13T19:35:01.000+0000", "updated": "2016-10-13T19:35:01.000+0000" }, { "id": "401205", "author": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This ticket is not fixed, please reopen.", "updateAuthor": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-16T18:24:31.000+0000", "updated": "2016-11-16T18:24:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }