{ "id": "84411", "key": "TIMOB-6956", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12094", "description": "", "name": "Sprint 2012-02", "archived": true, "released": true, "releaseDate": "2012-01-29" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-11T22:29:43.000+0000", "created": "2012-01-02T21:12:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_picker", "qe-testadded", "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14479", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "84627", "key": "TIDOC-222", "fields": { "summary": "APIDoc: UI.Picker - documentation rewrite", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-12-06T10:27:03.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3. The Problem:\r\nThis code works on Ti versions prior ti V8.\r\n{code}\r\nvar picker = Ti.UI.createPicker();\r\npicker.showDatePickerDialog({\r\n\tvalue: new Date(2010,8,1),\r\n\tcallback: function(e) {\r\n\t\tif (e.cancel) {\r\n\t\t\tTi.API.info('user canceled dialog');\r\n\t\t} else {\r\n\t\t\tTi.API.info('user selected date: ' + e.value);\r\n\t\t}\r\n\t}\r\n});\r\n{code}\r\n\r\nBut no I get an error: \r\n{code}\r\nUncaught Error: java.util.HashMap\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: showDatePickerDialog() is broken in 1.8.0.1 v8", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Android\r\nTi SDK 1.8.0.1.v20111222130907\r\nDec 22 2011 13:09 rfbdc96fd\r\n", "comment": { "comments": [ { "id": "178310", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Full test:\r\n\r\n{code}\r\nvar w = Ti.UI.createWindow({backgroundColor:'green'});\r\nw.open();\r\n\r\nvar picker = Ti.UI.createPicker();\r\npicker.showDatePickerDialog({\r\n\tvalue: new Date(2010,8,1),\r\n\tcallback: function(e) {\r\n\t\tif (e.cancel) {\r\n\t\t\tTi.API.info('user canceled dialog');\r\n\t\t} else {\r\n\t\t\tTi.API.info('user selected date: ' + e.value);\r\n\t\t}\r\n\t}\r\n});\r\n{code}\r\n\r\nDialog can still get hidden under HW window but that is a larger behavioral issue beyond the scope of this ticket.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-01-05T20:41:21.000+0000", "updated": "2012-01-05T20:41:49.000+0000" }, { "id": "178475", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Could this method be documented?\r\n\r\n\r\nhttps://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Picker-object\r\n\r\n\r\nIt's not present in KitchenSink examples (as far as I can see).", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-01-09T01:04:23.000+0000", "updated": "2012-01-09T01:04:23.000+0000" }, { "id": "179361", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Verified already pulled into master, setting status to fixed", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-01-16T08:14:48.000+0000", "updated": "2012-01-16T08:14:48.000+0000" }, { "id": "179364", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "@Ivan I am opening a doc request for this, thanks.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-01-16T08:16:14.000+0000", "updated": "2012-01-16T08:16:14.000+0000" }, { "id": "179365", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Thanks for that Opie, but one is already opened (see linked issues in this ticket).", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-01-16T08:24:28.000+0000", "updated": "2012-01-16T08:24:28.000+0000" }, { "id": "179931", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with SDK 1.9.0.v20120119131634 on Nexus S (2.3.6) and emulator 2.3.1.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-19T14:20:17.000+0000", "updated": "2012-01-19T14:20:17.000+0000" }, { "id": "181394", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Open to update label", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-01T14:18:42.000+0000", "updated": "2012-02-01T14:18:42.000+0000" }, { "id": "184506", "author": { "name": "geshafer", "key": "geshafer", "displayName": "Gale Shafer", "active": true, "timeZone": "America/Indiana/Indianapolis" }, "body": "This same issue applies to .showTimePickerDialog()", "updateAuthor": { "name": "geshafer", "key": "geshafer", "displayName": "Gale Shafer", "active": true, "timeZone": "America/Indiana/Indianapolis" }, "created": "2012-02-28T10:37:46.000+0000", "updated": "2012-02-28T10:37:46.000+0000" }, { "id": "184511", "author": { "name": "geshafer", "key": "geshafer", "displayName": "Gale Shafer", "active": true, "timeZone": "America/Indiana/Indianapolis" }, "updateAuthor": { "name": "geshafer", "key": "geshafer", "displayName": "Gale Shafer", "active": true, "timeZone": "America/Indiana/Indianapolis" }, "created": "2012-02-28T11:32:33.000+0000", "updated": "2012-02-28T11:32:33.000+0000" }, { "id": "282858", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil test case added.\nPR Link:\nhttps://github.com/appcelerator/titanium_mobile/pull/5078", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-06T10:27:03.000+0000", "updated": "2013-12-06T10:27:03.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }