Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
    Artistan is on a distinguished road

      0  

    Default [FIXED-180] DataStore ArrayStore data saving as string, not array

    [FIXED-180] DataStore ArrayStore data saving as string, not array


    Designer 1.0.2.2
    Windows 7 Pro.

    Problem:
    Create an ArrayStore.
    Add to "data" this string... [[0,'a'],[1,'b]]
    I would assume 2 records but it is saving as a string, not an array.
    So when I "Load Data" it says "16 records loaded"
    Attached Files

  2. #2
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    Hi Artistan,

    When the object or array editors cannot evaluate an entry for any reason (syntax error, object undefined, etc.) then it will translate it into a string automatically verbatim. I believe the data is storing as a string because you are missing a single-quote after "b". So when that is evaluated, it fails because of a syntax error and then instead stores it as a string. Just add a single-quote after the "b" and it will be good to go.

  3. #3
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
    Artistan is on a distinguished road

      0  

    Default Still an issue.

    Still an issue.


    I added the quote after that, and still no good, "17 records loaded"
    I just did that quick test because it is not working in another project I am working on. to large to post.

  4. #4
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    It works for me: http://clip2net.com/clip/m50071/1278...31510-95kb.png

    But with that said, the # of records loaded is showing an incorrect number. However, the data is actually loaded as 2 records. So I will open a ticket to solve the incorrect number that shows after the data is loaded.

    Thanks for reporting this!

  5. #5
    Ext JS Premium Member Artistan's Avatar
    Join Date
    Apr 2007
    Location
    MN
    Posts
    144
    Vote Rating
    0
    Artistan is on a distinguished road

      0  

    Wink Not quite!

    Not quite!


    Thank You.
    Attached Images
    Last edited by Artistan; 12 Jul 2010 at 10:30 AM. Reason: I need to read more :)

  6. #6
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    This is fixed for the next release.

Similar Threads

  1. Where can I find documentation on writing and saving to a XML DataStore?
    By brink668 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 5 May 2010, 8:32 AM
  2. saving xml to a String variable
    By Tomek in forum Ext GWT: Discussion
    Replies: 5
    Last Post: 19 Oct 2009, 4:10 AM
  3. [FIXED][3.0] Ext.data.Store removed Array
    By dj in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 23 Apr 2009, 6:23 PM
  4. Replies: 0
    Last Post: 3 Jun 2008, 7:07 AM

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi