#5167 closed defect (fixed)
[patch][cla] fetchItemByIdentity on QueryReadStore returns wrong thing
Reported by: | guest | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | high | Milestone: | 1.0.2 |
Component: | DojoX Data | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
fetchItemByIdentity on QueryReadStore? will return a raw item, rather than a store-represnetation of the item. If you speak QueryReadStore? then the callback recieves item instead of {i:item, r:this}. The effect is that calls to isLoaded() do not return the right thing on the callback value of fetchItemByIdentity. Furthurmore, getValue, etc... fail on the value. You can compare the behaviour of ItemFileReadStore? for confirmation that a fetchItemByIdentity followed by a isLoaded followed by a getValue should return a field.
Patch fixes the problem. CLA on file [email protected]…
Attachments (1)
Change History (4)
Changed 13 years ago by
comment:1 Changed 13 years ago by
Milestone: | 1.0.1 → 1.0.2 |
---|
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 13 years ago by
Note: See
TracTickets for help on using
tickets.
diff fixing fetchByIdentity