{ "id": "168608", "key": "TIMOB-24894", "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-08-15T00:56:43.000+0000", "created": "2017-06-26T15:20:38.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-16T17:03:09.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\nFollowing on from TIMOB-24838, all Ti.App.Properties.get* functions should be able to return null,\r\n\r\n{code}\r\nconsole.log(JSON.stringify(Ti.App.Properties.getList('UserList', null)));\r\nconsole.log(JSON.stringify(Ti.App.Properties.getObject('UserObj', null)));\r\nconsole.log(JSON.stringify(Ti.App.Properties.getString('UserObj', null)));\r\nconsole.log(JSON.stringify(Ti.App.Properties.getBool('UserObj', null)));\r\nconsole.log(JSON.stringify(Ti.App.Properties.getInt('UserObj', null)));\r\nconsole.log(JSON.stringify(Ti.App.Properties.getDouble('UserObj', null)));\r\n{code}\r\n\r\n{code: title=Android and iOS}\r\n[INFO] null\r\n[INFO] null\r\n[INFO] null\r\n[INFO] null\r\n[INFO] null\r\n[INFO] null\r\n{code}\r\n\r\n{code: title=Windows}\r\n[INFO] null\r\n[INFO] null\r\n[INFO] null\r\n[INFO] false\r\n[INFO] 0\r\n[INFO] 0\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the above code to an existing app.js and build for Windows\r\n\r\nh5.Actual\r\n\r\nOutput is as shown under the Windows header above\r\n\r\nh5.Expected\r\n\r\nOutput should match Android and iOS", "attachment": [], "flagged": false, "summary": "Windows: Ti.App.Properties.get* should all be able to return null", "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": "Ti SDK: 6.2.0.v20170623140932\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", "closedSprints": [ { "id": 939, "state": "closed", "name": "2017 Sprint 17 SDK", "startDate": "2017-08-13T23:08:29.095Z", "endDate": "2017-08-27T23:08:00.000Z", "completeDate": "2017-08-27T21:10:54.125Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "425903", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1061", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-04T09:28:09.000+0000", "updated": "2017-08-04T09:28:09.000+0000" }, { "id": "426578", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kiguchi] Master is merged. Waiting for 6_2_X.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-11T22:31:52.000+0000", "updated": "2017-08-11T22:31:52.000+0000" }, { "id": "426664", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged to 6_2_X. https://github.com/appcelerator/titanium_mobile_windows/pull/1074", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T00:56:43.000+0000", "updated": "2017-08-15T00:56:43.000+0000" }, { "id": "426791", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in SDK Version 7.0.0.v20170815065413 and SDK Version: 6.2.0.v20170815130745\r\n\r\nTest and other information can be found at:\r\nMaster: https://github.com/appcelerator/titanium_mobile_windows/pull/1061\r\n6_2_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1074", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T17:03:01.000+0000", "updated": "2017-08-16T17:03:01.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }