You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Michal Mocny (JIRA)" <ji...@apache.org> on 2012/09/28 17:45:07 UTC

[jira] [Created] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Michal Mocny created CB-1558:
--------------------------------

             Summary: LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
                 Key: CB-1558
                 URL: https://issues.apache.org/jira/browse/CB-1558
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.1.0
            Reporter: Michal Mocny
            Assignee: Michal Mocny


1. Create an app with ios5 which uses web storage.
2. Upgrade that app to use cordova 2.1 and ios6.
3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Michal Mocny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476124#comment-13476124 ] 

Michal Mocny commented on CB-1558:
----------------------------------

Clemens,
I've opened a new bug (https://issues.apache.org/jira/browse/CB-1661) to track this, so lets hop over there.
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Michal Mocny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465844#comment-13465844 ] 

Michal Mocny commented on CB-1558:
----------------------------------

Great explanation, thanks.  Yes, I only fixed the upgrade from 5.1 to 6.0, but I guess you are testing updating from 5.0 directly to 6.0?  (How common is this?)

Anyway, I'll take a look at the code you provided, thanks!
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Christian Kuetbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465848#comment-13465848 ] 

Christian Kuetbach commented on CB-1558:
----------------------------------------

I think there is the same issue with loacalstrage. 
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Clemens Wyss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476039#comment-13476039 ] 

Clemens Wyss edited comment on CB-1558 at 10/15/12 11:22 AM:
-------------------------------------------------------------

just did a test with the latest greatest 2.2 sources. 
My localstorage was not backuped/restored ...
Use/test case:
1) start/install app
2) write data to localstorage
3) close app
4) open app
data is lost ...

New issue (as this is not directly related to "upgrading" but more general to persistency of  localstorage/and I gues websql-storage) or reopen this issue?

                
      was (Author: clemensdev):
    just did a test with the latest greatest 2.2 sources. 
My localstorage was not backuped/restored ...
Use/test case:
1) start/install app
2) write data to localstorage
3) close app
4) open app
data is lost ...

Reopen this issue?

                  
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Michal Mocny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465885#comment-13465885 ] 

Michal Mocny commented on CB-1558:
----------------------------------

Fair enough, but by definition things in the Cache folder are expected to disappear (as I understand).  I'll use your patch to improve the situation, I was just trying to gauge how severe of an issue this is for the 2.1 release.

Thanks again!
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472823#comment-13472823 ] 

Shazron Abdullah commented on CB-1558:
--------------------------------------

We're aiming for a 2.2.0rc the next few days.
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Michal Mocny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465845#comment-13465845 ] 

Michal Mocny commented on CB-1558:
----------------------------------

One source claims 2.4% of ios versions out there are still on 5.0, and of those devices I am not sure how likely it is for them to update to 6.0 now.  I'll work on this for completeness but I don't know if its a significant issue.
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Christian Hemker (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465840#comment-13465840 ] 

Christian Hemker commented on CB-1558:
--------------------------------------

This problem happens if you have created an App (the old Version of your app),
which stores the LocalStorage into the Default Location under iOS 5 <iOS App Directory>/Library/Caches/file__0.localstorage
There you have already the Problem with iOS 5.1.x, that the Caches Directory can be deleted, when iOS is running out of space.

I had the same problem with the old version of my app with cordova 2.1 and iOS 6.
If you like, you can use this fix for that.

{code:title=CDVLocalStorage.m Line 69}

    // ////////// LOCALSTORAGE
    NSString* original;
    NSString* backup;
    
    if(IsAtLeastiOSVersion(@"5.1") && !IsAtLeastiOSVersion(@"6.0") ){
        // 5.1 <= running iOS Version < 6.0
        original = [[appLibraryFolder stringByAppendingPathComponent:@"Caches"]stringByAppendingPathComponent:@"file__0.localstorage"];
        NSLog(@"createBackupInfo iOS 5.1 original:%@", original);
        
        backup = [backupsFolder stringByAppendingPathComponent:@"localstorage.appdata.db"];
        NSLog(@"createBackupInfo iOS 5.1 backup:%@", backup);
    } else {
        // iOS Version >= 6.0
        original = [[appLibraryFolder stringByAppendingPathComponent:@"WebKit/LocalStorage"] stringByAppendingPathComponent:@"file__0.localstorage"];
        NSLog(@"createBackupInfo iOS 6 original:%@", original);

        backup = [[appLibraryFolder stringByAppendingPathComponent:@"Caches"] stringByAppendingPathComponent:@"file__0.localstorage"];
        NSLog(@"createBackupInfo use Caches folder to save in WebKit directory backup:%@", backup);
    }
    
    CDVBackupInfo* backupItem = [[CDVBackupInfo alloc] init];
    backupItem.backup = backup;
    backupItem.original = original;
    backupItem.label = @"localStorage database";

    [backupInfo addObject:backupItem];
{code}
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Clemens Wyss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476039#comment-13476039 ] 

Clemens Wyss edited comment on CB-1558 at 10/15/12 9:37 AM:
------------------------------------------------------------

just did a test with the latest greatest 2.2 sources. 
My localstorage was not backuped/restored ...
Use/test case:
1) start/install app
2) write data to localstorage
3) close app
4) open app
data is lost ...

Reopen this issue?

                
      was (Author: clemensdev):
    just did a test with the latest greatest 2.2 sources. 
My localstorage was not backuped/restored ...
Use/test case:
1) start/install app
2) write data to localstorage
3) close app
4) open app
data is lost ...

                  
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Michal Mocny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470355#comment-13470355 ] 

Michal Mocny commented on CB-1558:
----------------------------------

This should be fixed as of today: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=6e170879aa37d33701739fc3c28ed9f78156bf1f

I've moved a bunch of stuff around, and as a result added support for restoring old legacy localstorage databases from various locations on disk.  This should support the various upgrade paths now.

Please let me know if this addresses you issue!
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Lee Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466173#comment-13466173 ] 

Lee Crossley commented on CB-1558:
----------------------------------

Christian is correct. If you have a device running iOS6 and install an app built with an earlier version of Cordova (think I tested 1.8.1), then install the app built with 2.1 and the CB-1535 fix, the webdatabase created in the initial app is no longer available after the update.
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Christian Kuetbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Kuetbach updated CB-1558:
-----------------------------------

    Comment: was deleted

(was: I think there is the same issue with loacalstrage. )
    
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Samuel Michelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470644#comment-13470644 ] 

Samuel Michelot commented on CB-1558:
-------------------------------------

Do you know when this fix will be available? (when is the next release?)
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Michal Mocny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Mocny resolved CB-1558.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
    
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Christian Hemker (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465875#comment-13465875 ] 

Christian Hemker commented on CB-1558:
--------------------------------------

This problem has to do with the implementation of the app not directly with the iOS Version.
If the UIWebView from the old app saves the localstore under the Caches folder, this is independent from the iOS Version.
If the old app has not the backup phonegap implementation,
The localstore is only saved in Caches.

If you Update this old app with an app that uses cordova 2.1,
The backup restore method override the existing localstore.
                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1558) LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5

Posted by "Clemens Wyss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476039#comment-13476039 ] 

Clemens Wyss commented on CB-1558:
----------------------------------

just did a test with the latest greatest 2.2 sources. 
My localstorage was not backuped/restored ...
Use/test case:
1) start/install app
2) write data to localstorage
3) close app
4) open app
data is lost ...

                
> LocalStorage is lost after upgrade to cordova 2.1 and ios6 up from from ios5
> ----------------------------------------------------------------------------
>
>                 Key: CB-1558
>                 URL: https://issues.apache.org/jira/browse/CB-1558
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>             Fix For: 2.2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 1. Create an app with ios5 which uses web storage.
> 2. Upgrade that app to use cordova 2.1 and ios6.
> 3. See that web storage resets.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira