{ "id": "133364", "key": "ALOY-1091", "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": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" }, { "id": "16389", "name": "Alloy 1.4.1", "archived": false, "released": true, "releaseDate": "2014-07-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-07-21T19:03:22.000+0000", "created": "2014-07-18T07:15:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded" ], "versions": [ { "id": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" } ], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-07-25T03:27:21.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": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "If you use id name except 'picker' to Picker, that id will be handled as variable.\r\n\r\nh5. view\r\n{code:xml}\r\n\r\n \r\n\r\n{code}\r\n\r\nh5. style\r\n{code:css}\r\n'#testpicker': {\r\n type: Ti.UI.PICKER_TYPE_DATE_AND_TIME\r\n}\r\n{code}\r\n\r\nh5. compiled code\r\n{code:javascript}\r\n$.__views.testpicker = Ti.UI.createPicker({\r\n type: Ti.UI.PICKER_TYPE_DATE_AND_TIME,\r\n id: testpicker\r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "id property of other than 'picker' is treated as a variable", "creator": { "name": "k0sukey", "key": "k0sukey", "displayName": "Kosuke Isobe", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "k0sukey", "key": "k0sukey", "displayName": "Kosuke Isobe", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Alloy 1.4.0, Alloy 1.5.0-dev", "closedSprints": [ { "id": 159, "state": "closed", "name": "2014 Sprint 15 Alloy", "startDate": "2014-07-21T15:07:15.114Z", "endDate": "2014-08-04T15:07:00.000Z", "completeDate": "2014-08-02T18:09:47.110Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "314776", "author": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "body": "Already reported as [TC-4370]", "updateAuthor": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "created": "2014-07-18T08:59:27.000+0000", "updated": "2014-07-18T08:59:27.000+0000" }, { "id": "314869", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Confirmed to be a problem with only datetime type pickers.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-18T19:38:48.000+0000", "updated": "2014-07-18T19:38:48.000+0000" }, { "id": "315041", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR https://github.com/appcelerator/alloy/pull/486\r\n\r\nTest app: use the test/app/testing/ALOY–263 app, but modify the id associated with the picker in that app to be something other than 'picker (make sure to change in both the XML and TSS). It should build and run without error.\r\n\r\nFinally, as described in ALOY-1093, this also resolves the issue of string values of picker properties getting parsed without the required quotes. Test by setting a property on the picker, such as right:'10dp' and building for Android.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-21T16:30:42.000+0000", "updated": "2014-07-21T19:02:58.000+0000" }, { "id": "315086", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR merged to master and cherry-picked to 1.4 branch", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-21T19:03:22.000+0000", "updated": "2014-07-21T19:03:22.000+0000" }, { "id": "315765", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed. \r\n\r\nTitanium SDK 3.3.0.GA\r\nAlloy 1.4.1-rc\r\nCLI 3.3.0\r\nAppcelerator Studio 3.3.0.GA\r\n\r\niOS iPhone 7.1.2\r\nAndroid Nexus Galaxy 4.3.\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-25T03:26:08.000+0000", "updated": "2014-07-25T03:26:08.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }