{ "id": "168442", "key": "TIMOB-24838", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-06-26T16:07:13.000+0000", "created": "2017-06-16T00:17:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-12T10:04: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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h6.Reproduce\r\n1. Run the following code in a default project.\r\n{code}\r\nconsole.log('Hello3' + Ti.App.Properties.getList('User', null));\r\nconsole.log('Hello4' + Ti.App.Properties.getObject('User', null));\r\n{code}\r\n2. It will return the following error \r\n{code}\r\nThrow a runtime error:\r\n[ERROR] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] In app.js: 87,53\r\n[ERROR] Message: Uncaught Error: null is not an object\r\n{code}\r\n\r\nh6.Note\r\n1. On Android and iOS it works properly\r\n2. If we set List or Object first by ourself, not default one. It works well.\r\n3. If try to use \"console.log('Hello3' + Ti.App.Properties.getList('User'));\" and the object does not exist.", "attachment": [], "flagged": false, "summary": "Windows: Ti.App.Properties getList and getObject don't work properly when we set a default value.", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "SDK 6.1.0.GA\r\n", "closedSprints": [ { "id": 917, "state": "closed", "name": "2017 Sprint 13 SDK", "startDate": "2017-06-18T16:14:35.902Z", "endDate": "2017-07-02T16:14:00.000Z", "completeDate": "2017-07-06T23:53:22.101Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "422347", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1015", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-20T03:45:33.000+0000", "updated": "2017-06-20T03:45:33.000+0000" }, { "id": "422736", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "FR Passed!\r\n\r\nborderRadius now works on Ti.UI.View\r\n\r\nTest Environment\r\nStudio: 4.9.0.201705302345\r\nAppc CLI: 6.2.2\r\nAppc NPM: 4.2.9\r\nNokia Lumia 550\r\nWindows 10 Mobile emulator 10.0.14393\r\nWindows 10 Pro 10.0.15063", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-06-26T16:11:00.000+0000", "updated": "2017-06-26T16:11:00.000+0000" }, { "id": "423983", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Fix seen in 6.2.0.v20170711165607, closing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-12T10:04:40.000+0000", "updated": "2017-07-12T10:04:40.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }