{ "id": "162413", "key": "TIMOB-23730", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2021-02-11T12:18:48.000+0000", "created": "2016-08-04T12:03:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [], "assignee": null, "updated": "2021-02-11T12:18:48.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen adding a contact with a birthday the app will throw the following error \r\n\r\n{code}\r\nTi.Contacts.requestAuthorization(function(e) {\r\n if (e.success) {\r\n Ti.API.info('auth request success');\r\n Ti.API.info(JSON.stringify(e));\r\n var person = Ti.Contacts.createPerson({\r\n\t firstName: 'Steven',\r\n\t lastName: 'Gerrard',\r\n\t organization: 'Liverpool FC',\r\n\t phone:{\r\n\t mobile: ['07900 000001', '07900 000002'],\r\n\t work: ['+44 (0)118 925 6128', '+44 (0)118 000 0000']\r\n\t },\r\n\t birthday:'1980-05-30T12:00:00.000+0000'\r\n\t });\r\n } else {\r\n Ti.API.info('auth request fail');\r\n Ti.API.info(e);\r\n }\r\n});\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the code above to an existing app.js\r\n# Build for Windows platform\r\n\r\nh5.Actual result\r\n\r\nThe app will error with {{Application Error: \"Runtime Error: invalid vector subscript\"}}\r\n\r\nh5.Expected result\r\n\r\nThe birthday should be set with no errors", "attachment": [], "flagged": false, "summary": "Windows: Unable to set birthday of a contact", "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": "Windows 10 Pro\r\nAppc core: 5.4.0-37\r\nAppc NPM: 4.2.7\r\nTi SDK: 5.4.0.v20160801022303", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }