{ "id": "133469", "key": "ALOY-1094", "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:35:15.000+0000", "created": "2014-07-21T19:07:26.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-28T18:43:44.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": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" }, { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "The following code will generate an error because it uses {{type: Ti.UI.PICKER_TYPE_DATE_AND_TIME}} rather than {{type: Titanium.UI.PICKER_TYPE_DATE_AND_TIME}}. The same is true with any of the date or time type picker type constants.\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", "attachment": [], "flagged": false, "summary": "Date or time pickers: cannot use Ti.UI.* type constants, must use Titanium.UI.* abbreviations", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "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": "315092", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR https://github.com/appcelerator/alloy/pull/489 (merged to master, cherry-picked to 1_4_X branch)\r\n\r\nTest app: use the test/apps/ui/datetime_picker app\r\n\r\nFunctional test: \r\n\r\nUpdate the app's index.xml to specify the constant as Titanium.UI.PICKER_TYPE_DATE instead of Ti.UI.PICKER_TYPE_DATE. The app should build and run without errors, and display a date picker.\r\n\r\nUpdate the app again, removing the type assignment from XML and specifying it in the index.tss. You should test with both Ti.UI.PICKER_TYPE_DATE and Titanium.UI.PICKER_TYPE_DATE. In each case, the app should run without error, and display the date picker.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-21T19:35:15.000+0000", "updated": "2014-07-21T19:35:39.000+0000" }, { "id": "316027", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed. \r\n\r\nTiSDK 3.3.0.GA\r\nAppcelerator Studio 3.3.0.201407111535\r\nCLI 3.3.0.GA\r\nAlloy 1.4.1-rc\r\n\r\nGoogle Nexus Galaxy 4.3 - iPhone 5 7.1.2\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-28T18:36:32.000+0000", "updated": "2014-07-28T18:36:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }