{ "id": "132634", "key": "AC-1307", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-07-07T04:23:40.000+0000", "created": "2014-07-05T07:42:47.000+0000", "labels": [ "core", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:42.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": "h2. Expected Result\r\nNo alert message is seen\r\n\r\nh2. Actual Result\r\nAlert is triggered\r\n\r\n{code:title=\"view\"}\r\n\r\n \r\n \r\n \r\n{code}\r\n\r\n{code:title=\"index\"}\r\n if($.tf1.editable) {\r\n alert(\"it is editable!!\"); //invoked as editable is being evaluated as //string \"false\"\r\n }\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Boolean value set in Alloy mark-up is being parsed to string as either \"false\" or \"true\" in controller", "creator": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Alloy 1.3.1\r\nTiSDK 3.2.3\r\niOS 7.1", "comment": { "comments": [ { "id": "312486", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe tested this issue with our modified sample code bellow. We can’t reproduce this issue. It’s working as expected with Titanium SDK 3.3.0 RC. In TextField object, editable property value should be Boolean type but given by string. If we change string type to Boolean then its working perfect. \r\n\r\n\r\n{code}\r\n \r\n\r\n\r\n\r\n\r\n{code} \r\n\r\nto \r\n{code}\r\n\r\n \r\n\r\n\r\n\r\n\r\n{code}\r\n\r\nThanks\r\n", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-07T03:58:13.000+0000", "updated": "2014-07-07T04:23:01.000+0000" }, { "id": "312488", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Please use editable=false ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-07T04:23:40.000+0000", "updated": "2014-07-07T04:23:40.000+0000" }, { "id": "312490", "author": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Surprisingly, Alloy mark-up can have attribute values without being quoted!!!!!\r\nSee XML definition from [W3C|http://www.w3schools.com/xml/xml_syntax.asp]\r\n\r\n", "updateAuthor": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-07T04:43:08.000+0000", "updated": "2014-07-07T04:43:08.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }