Link to .capx file (required!):
https//dl.dropboxusercontent.com/u/65841566/R151NewJSONwithArrayLoadBug.capx
Steps to reproduce:
1. (I already labelled the button base on step). Must run in debug mode.
2. Create Array (10,3,1) and webstorage
3. Clear Array and Webstorage
4. Init Array with values and save it to webstorage as JSON
5. Clear Array
6. Try load back the saved value from webstorage to Array.
Observed result:
R151 failed to load back the JSON saved
R150 able to load back. (same event or codes)
I noticed that JSON string is different between R151 and R150, the "size:" is included as data. I think this is incorrect right ?
R151 {"c2":true,"data":{"size":[10,3,1],"data":[[[100],["nom"],[0]],[[200],["nom"],[0]],[[300],["nom"],[0]],[[400],["nom"],[0]],[[500],["nom"],[0]],[[600],["nom"],[0]],[[700],["nom"],[0]],[[800],["nom"],[0]],[[900],["nom"],[0]],[[1000],["nom"],[0]]]}}
R150 {"c2array":true,"size":[10,3,1],"data":[[[100],["nom"],[0]],[[200],["nom"],[0]],[[300],["nom"],[0]],[[400],["nom"],[0]],[[500],["nom"],[0]],[[600],["nom"],[0]],[[700],["nom"],[0]],[[800],["nom"],[0]],[[900],["nom"],[0]],[[1000],["nom"],[0]]]}
Expected result:
Array should be loaded fine. (Before this R150 and below the codes is working ok)
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes
Operating system & service pack:
Win8.1
Construct 2 version:
R151