{ "id": "61667", "key": "TIMOB-1035", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:01.000+0000", "created": "2011-04-15T02:42:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:01.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": "{html}
The current implementation always expects a default for each\ngetXXXX() method instead of treating as a default. getXXXX()\nmethods should acccept and Object[] and deal with the optional\nparam correctly as documented in the API docs.
The java implementation needs to change to be getXXXX(Object[]\nargs); Inside the method you need to verify that it has at least\none argument the \"key\" and optionally a default value.
Don, can you point toward the particular API docs as referenced\nin the initial ticket detail?
\nI think I know what you mean though just need a little more\ndetail in determining the scope for this ticket.
Ti.App.Properties. Specifically PropertiesModule.java
I needed this for something else I'm working on - \nhttp://github.com/dasher/titanium_mobile/commit/8f7cb0a3bf8283bc461...
(from [66472312aeb03c97bfdeb32d50c252347173e3ac])\nAllowed the properties API to function without needing a default to\nbe passed & added a helper to TiProperties to detect if a list\nexists or not [#1035 state:resolved] \nhttp://github.com/appcelerator/titanium_mobile/commit/66472312aeb03...