{ "id": "132176", "key": "TIMOB-17200", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-26T14:00:58.000+0000", "created": "2014-06-24T15:31:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_picker", "qe-closed-3.3.0", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-27T22:55:07.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "h2. Description\r\nWhen changing the date in the DatePicker in MobileWeb, the 'change' event is not fired when clicking on the calendar.\r\n\r\nh2. Code\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar picker = Ti.UI.createPicker({\r\n\ttype : Ti.UI.PICKER_TYPE_DATE,\r\n\tminDate : new Date(2009, 0, 1),\r\n\tmaxDate : new Date(2014, 11, 31)\r\n});\r\n\r\npicker.addEventListener('change', function(evt) {\r\n\talert('Changed date ' + evt.value);\r\n});\r\n\r\nwin.add(picker);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh2. Test case\r\n1. Click on the date picker (event will fire)\r\n2. Click on the arrow to show the calendar, and pick a date (no event fired)\r\n3. Click on the arrow again and event will fire now", "attachment": [], "flagged": false, "summary": "MobileWeb: DatePicker 'change' event does not fire when clicking on the calendar", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 3.2.3.GA\r\nSDK 3.3.0.RC", "closedSprints": [ { "id": 135, "state": "closed", "name": "2014 Sprint 13 Tooling", "startDate": "2014-06-23T23:44:04.894Z", "endDate": "2014-07-04T00:00:00.000Z", "completeDate": "2014-07-07T16:26:26.229Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "311002", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5852\r\n3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5853\r\n\r\nThere were quite a number of bugs and parity issues that I fixed.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-26T00:20:39.000+0000", "updated": "2014-06-26T00:20:39.000+0000" }, { "id": "311075", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Alert is displayed when the date is changed as expected.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-06-26T14:00:58.000+0000", "updated": "2014-06-26T14:00:58.000+0000" }, { "id": "311143", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~dcassenti] Being that this file hasn't been updated since the 3.1 days, it's probably easier to just tell them to drop https://raw.githubusercontent.com/appcelerator/titanium_mobile/master/mobileweb/titanium/Ti/UI/Picker.js into their 3.2.3 SDK.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-26T19:22:44.000+0000", "updated": "2014-06-26T19:22:44.000+0000" }, { "id": "311160", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Fixed a typo:\r\n\r\nMaster pull request: https://github.com/appcelerator/titanium_mobile/pull/5858\r\n3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5859", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-26T21:40:24.000+0000", "updated": "2014-06-26T21:40:24.000+0000" }, { "id": "311171", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201406231625\r\nTitanium SDK, build: 3.3.0.v20140626144112\r\nTitanium CLI, build: 3.3.0-rc3\r\nAlloy: 1.4.0-rc2\r\n\r\nDataPicker 'change' event fires successfully when clicking on the calendar drop down option.\r\nCorrect date is also shown in the alert thrown by the change event.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-26T22:18:37.000+0000", "updated": "2014-06-26T22:18:37.000+0000" }, { "id": "311454", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested same environment with following devices:\r\niPhone 5C iOS 7.1 Safari\r\nGalaxy S4 Android version 4.4.2\r\nBB Z10 version 10.2.1\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-27T22:55:07.000+0000", "updated": "2014-06-27T22:55:07.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }