{ "id": "91002", "key": "TIMOB-8913", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13398", "description": "Sprint 2012-10 Mobile Web", "name": "Sprint 2012-10 MW", "archived": true, "released": true, "releaseDate": "2012-05-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-18T10:48:00.000+0000", "created": "2012-04-29T07:36:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-21T18:56: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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "There's a bug in Ti.App.Properties where falsey default values return null (if the property value is undefined.\r\n\r\nThe problem is in the getProp() function where the correct line should be:\r\n\r\n{code}\r\nreturn value === void 0 ? lang.val(defaultValue, null) : types[type] ? types[type](value) : value;\r\n{code}", "attachment": [ { "id": "27777", "filename": "app.js", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-18T03:30:41.000+0000", "size": 148, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "MobileWeb: Ti.App.Properties getters return null for falsey default values", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "193901", "author": { "name": "arkainrdk", "key": "arkainrdk", "displayName": "Ranando King", "active": true, "timeZone": "America/Chicago" }, "body": "This might be related to a request I submitted. As I have not looked into the API source code, I'm not certain. But it seem it be the same problem.\r\n\r\nSee", "updateAuthor": { "name": "arkainrdk", "key": "arkainrdk", "displayName": "Ranando King", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-06T01:53:05.000+0000", "updated": "2012-05-06T01:53:05.000+0000" }, { "id": "193902", "author": { "name": "arkainrdk", "key": "arkainrdk", "displayName": "Ranando King", "active": true, "timeZone": "America/Chicago" }, "updateAuthor": { "name": "arkainrdk", "key": "arkainrdk", "displayName": "Ranando King", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-06T01:57:01.000+0000", "updated": "2012-05-06T01:57:01.000+0000" }, { "id": "195252", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/2221", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-18T03:30:22.000+0000", "updated": "2012-05-18T03:30:22.000+0000" }, { "id": "414326", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:56:40.000+0000", "updated": "2017-03-21T18:56:40.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }