Changes between Initial Version and Version 5 of Ticket #12670


Ignore:
Timestamp:
Nov 23, 2011, 11:19:17 PM (9 years ago)
Author:
bill
Comment:

No worries, OK I am marking this as fixed in 1.7.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12670

    • Property Status changed from new to closed
    • Property Component changed from Query to Data
    • Property Milestone changed from tbd to 1.7
    • Property Owner changed from alex to Kris Zyp
    • Property Resolution changed from to fixed
  • Ticket #12670 – Description

    initial v5  
    1 Browser Type: Any
    2 Browser Version: Any
     1Browser Type: Any[[BR]]
     2Browser Version: Any[[BR]]
    33OS: Any
    44
    55Try the following code:
    6 
     6{{{
    77var memory = new dojo.store.Memory();
    88var observer = new dojo.store.Observable(memory);
     
    2323item.order = 5;
    2424memory.put(item);
     25}}}
    2526
    2627Output:
     28{{{
    2729[ Object , -1, 0]
    2830[ Object , -1, 1]
     
    3133[ Object , -1, 4]
    3234[ Object , 2, 3] // This is wrong
     35}}}
    3336
    3437Expected Output:
    35 
     38{{{
    3639[ Object , -1, 0]
    3740[ Object , -1, 1]
     
    4043[ Object , -1, 4]
    4144[ Object , 4, 3]
    42 
     45}}}