{ "id": "133778", "key": "AC-1499", "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-10-28T08:31:29.000+0000", "created": "2014-07-26T16:43:06.000+0000", "labels": [ "TCSupportTriage" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:57.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When specifying the \"type\" attribute of Picker to \r\nTi.UI.PICKER_TYPE_DATE\r\nThe error shown is name of the Picker is not defined.\r\nFor eg if my Alloy app says\r\nindex.xml\r\n===========\r\n\r\n\r\nindex.tss\r\n===========\r\n\"#datepicker\":{\r\n type: Ti.UI.PICKER_TYPE_DATE\r\n}\r\n\r\nThe error shown is \r\nReference variable not defined \"datepicker\"\r\n\r\nI fixed the issue by correcting the type mentioned to \"Titanium.UI.PICKER_TYPE_DATE\"\r\n\r\nIf only the error message would have been appropriate, it would have been much easier for me to fix it.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Error Notification for DateType picker not appropriate.", "creator": { "name": "ivks", "key": "ivks", "displayName": "Vishal Kumar Singh", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "ivks", "key": "ivks", "displayName": "Vishal Kumar Singh", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Mac Maverics, Titanium SDK 3.3.0 Android 4.4.2, Alloy", "comment": { "comments": [ { "id": "320516", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~mpmiranda]! ,\r\n\r\nh5. Test Case\r\n\r\nindex.xml\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nindex.tss\r\n{code}\r\n\".container\": {\r\n\tbackgroundColor:\"black\"\r\n}\r\n\"#datepicker\": { \r\n\ttype: Ti.UI.PICKER_TYPE_DATE \r\n\t//type: Titanium.UI.PICKER_TYPE_DATE //Both works as expected.\r\n}\r\n{code}\r\n\r\nThanks", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-27T05:09:07.000+0000", "updated": "2014-10-28T08:31:23.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }