1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    39
    Vote Rating
    1
    P.verbrugge is on a distinguished road

      0  

    Default Unanswered: Store loses data after reload

    Unanswered: Store loses data after reload


    Hi,

    I am having issues here with Sencha Touch 2.1 and the (local) store.

    When I save data to my local store, the store only keeps the data as long as I don't reload my browser. As soon as I reload my browser the local store data is gone. All records are gone. This only happends with Sencha Touch 2.1. When I check it in Sencha 2.0.1 I don't have this problem.

    I have not check "clearOnPageLoad". How can it be that the data is lost on a browser refresh? Is this a bug?

    [EDIT]
    Have an extra strange behaviour. When I add a proxy to my local storage, records are not saved at all! I can not read any data from the store anywhere in my app from my local storage. As soon as I remove the local storage proxy I can read the records again (until a browser refresh ofcourse).

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    39
    Vote Rating
    1
    P.verbrugge is on a distinguished road

      0  

    Default


    Problem found:

    When adding data to your local storage, that has a key "id" in it, the local storage doesn't give an error when you are not using uuid. It suggests it all works correctly, but in fact it doesn't!

    So, don't use an id in your record or set the uuid as unique identifier.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar