{ "id": "93125", "key": "TIMOB-9509", "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": "14064", "description": "Sprint 2012-17 Core", "name": "Sprint 2012-17 Core", "archived": true, "released": true, "releaseDate": "2012-08-27" }, { "id": "14097", "description": "Sprint 2012-18 Core", "name": "Sprint 2012-18 Core", "archived": true, "released": true, "releaseDate": "2012-09-10" } ], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2012-09-06T16:56:08.000+0000", "created": "2012-06-12T19:45:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-03-13T15:06:23.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": "h2. Problem description\r\nWebview local storage it's broken on iOS 5.1. Performing an App update, local storage for webview it's no longer persistant.\r\n\r\nh2. Steps to reproduce and sample code\r\n1. Run the sample code, run the app and click \"add\" a few times\r\nResult: The data is shown and being stored in local storage\r\n2. Close completely the app and restart app\r\nResult: stored data is correctly shown\r\n3. Install over the app from Xcode\r\nResult: contents it's no longer available. Also, subsequently added data (like in step 1 and 2) it's no longer kept in the local storage.\r\n\r\nAttaching also log file\r\n\r\n{code}\r\n// app.js\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar webview = Ti.UI.createWebView({\r\n url: '/localstorage.html'\r\n});\r\n\r\nwin1.add(webview);\r\nwin1.open();\t\r\n{code}\r\n\r\n\r\n{code}\r\n// localstorage.html\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n \r\n\r\n{code}\r\n\r\n\r\nh2. Additional notes\r\nCustomer ticket: http://support-admin.appcelerator.com/display/APP-523422", "attachment": [ { "id": "28311", "filename": "localStorageLOG.log", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-12T19:46:15.000+0000", "size": 7424, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: webview local storage broken after app update on iOS 5.1", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 5.1 only\r\nTiSDK 2.1 - 2.0 - 1.8.2", "comment": { "comments": [ { "id": "215871", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce following the provided steps.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-23T13:12:08.000+0000", "updated": "2012-08-23T13:12:08.000+0000" }, { "id": "217510", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It seems to be related to this:\r\nhttp://forrst.com/posts/Security_err_dom_exception_18_and_how_to_avoid-1Ge\r\nhttp://www.iphonewarroom.com/2012/07/how-to-fix-iphone-securityerr-dom.html", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-04T14:36:08.000+0000", "updated": "2012-09-04T14:39:12.000+0000" }, { "id": "217921", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce when update app via iTunes, or iPhone Configuration Utility or Xcode Run/Debug.\r\nCould reproduce via XCode Organizer, Devices tab, Add button.\r\n\r\nThis problem is somehow related to the way application is updated. Probably installing via Xcode Organizer does not update the app properly.\r\n", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-06T16:56:08.000+0000", "updated": "2012-09-06T16:56:08.000+0000" }, { "id": "229725", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as not our bug", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T00:11:41.000+0000", "updated": "2012-12-04T00:11:41.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }