{ "id": "61568", "key": "TIMOB-936", "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:54:43.000+0000", "created": "2011-04-15T02:39:38.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:43.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

place this code in app.js

\n

var v = Titanium.App.Properties.getString(\"Vol5\");
\nTitanium.API.info('value: ' + v);
\nif (v==null){
\nTitanium.App.Properties.setString(\"Vol5\",\"foo\");
\nTitanium.API.info('value now ' +\nTitanium.App.Properties.getString(\"Vol5\"));
\n}

\n

sometimes it is persisted, other times it is not. maybe it's a\ntiming issue

{html}", "attachment": [], "flagged": false, "summary": "Ti.App.Properties not always persisted", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124386", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [3afa629d050707c160db222531975ac2463f2b0f])\nCloses #936: Need to force synchronize after setting a\nproperty. \nhttp://github.com/appcelerator/titanium_mobile/commit/3afa629d05070...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:39:39.000+0000", "updated": "2011-04-15T02:39:39.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }