Changes between Initial Version and Version 1 of Ticket #13445, comment 4


Ignore:
Timestamp:
Jan 14, 2012, 10:38:26 AM (8 years ago)
Author:
ozdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13445, comment 4

    initial v1  
    2121}}}
    2222
    23 ...is flawed in that it assumes mistakenly that {{{store.add/put}}} returns an object whereas the correct return value of {{{add/put}}} is the '''id''' of the newly created/modified object according to the Dojo Store API.
     23...mistakenly assumes that {{{store.add/put}}} returns an object whereas the correct return value of {{{add/put}}} is the '''id''' of the newly created/modified object according to the Dojo Store API.
    2424
    2525This fix adds an extra {{{store.get}}} call as well like the suggestion above but it's unavoidable if we stick to the current API.