{ "id": "137709", "key": "TIMOB-17825", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-11T20:45:40.000+0000", "created": "2014-10-07T01:44:48.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "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" }, { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-11T20:45:40.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": "h5.Description\r\n\r\nWhen a value of a picker is set in .createPicker() minDate and maxDate are not respected and it is possible for the value to be passed these two values\r\n\r\n\r\n*Notes*\r\nOn iOS the minDate and maxDate values are respected and if the value is set above or below these then it is defaulted to the either the maxDate or minDate.\r\n\r\nIf the value is set using setValue() then it defaults to the highest or lowest it can go.\r\n\r\nThis also occurs in 3.4.0.GA and 3.3.0.GA.\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Using the attached app.js build to an Android device or emulator\r\n2. Observe the dates that are set\r\n3. Tap the button and the dates will be set via setValue()\r\n\r\nh5.Actual Result\r\n\r\n2. The dates will be past the min and max values\r\n3. The dates are changed to the min and max\r\n\r\nh5.Expected Result\r\n\r\n2. The dates should be the same as the min and max\r\n3. The dates are changed to the min and max", "attachment": [ { "id": "51828", "filename": "app.js", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-10-07T16:06:53.000+0000", "size": 1204, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Android: Picker: minDate and maxDate are not respected when setting the value in constructor", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Mac OSX 10.9.5\r\nAppcelerator Studio, build: 3.4.0.201409261245\r\nTitanium SDK build: 3.5.0.v20141003114918, 3.4.0.GA, 3.3.0.GA\r\nTitanium CLI, build: 3.5.0-dev\r\nAlloy: 1.5.1\r\nAndroid Emulator 4.4.2. Android Device S3 4.0.3", "comment": { "comments": [ { "id": "423947", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verifying that has been fixed as I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-11T20:45:40.000+0000", "updated": "2017-07-11T20:45:40.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }