{ "id": "65882", "key": "TIMOB-5507", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-30T06:14:53.000+0000", "created": "2011-05-30T05:02:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "akulinich", "key": "akulinich", "displayName": "Andrew Kulinich", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T20:33:17.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": "After applying the removeProperty to the existing property, it is still in localStorage.\r\n{code:JavaScript}\r\nvar win = Ti.UI.currentWindow;\r\n\r\nvar setButton = Ti.UI.createButton({\r\n\ttitle: 'Set Properties',\r\n\theigth: 40,\r\n\twidth: 220,\r\n\tleft: 50,\r\n\ttop: 10\r\n});\r\n\r\nvar getButton = Ti.UI.createButton({\r\n\ttitle: 'Get Properties',\r\n\theigth: 40,\r\n\twidth: 220,\r\n\tleft: 50,\r\n\ttop: 50\r\n});\r\n\r\nvar removeButton = Ti.UI.createButton({\r\n\ttitle: 'Remove Properties',\r\n\theigth: 40,\r\n\twidth: 220,\r\n\tleft: 50,\r\n\ttop: 90\r\n});\r\n\r\nwin.add(setButton);\r\nwin.add(getButton);\r\nwin.add(removeButton);\r\n\r\nsetButton.addEventListener('click',function(){\r\n\tTi.App.Properties.setString(\"string_property\",\"this is property\");\r\n});\r\ngetButton.addEventListener('click',function(){\r\n\talert(Ti.App.Properties.getString(\"string_property\"));\r\n});\r\n\r\nremoveButton.addEventListener('click',function(){\r\n\tTi.App.Properties.removeProperty(\"string_property\");\r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: Method removeProperty does not work in Ti.App.Properties", "creator": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "subtasks": [], "reporter": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "environment": null, "comment": { "comments": [ { "id": "410447", "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-09T20:33:17.000+0000", "updated": "2017-03-09T20:33:17.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }