Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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 dojo@…

Attachments (1)

qrs.diff (461 bytes) - added by guest 12 years ago.
diff fixing fetchByIdentity

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by guest

Attachment: qrs.diff added

diff fixing fetchByIdentity

comment:1 Changed 12 years ago by Adam Peller

Milestone: 1.0.11.0.2

comment:2 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

(In [11633]) Minor checkin fix. Needs more UT, though, which will be added later. fixes #5167

comment:3 Changed 12 years ago by Jared Jurkiewicz

(In [11634]) Minor checkin fix. Needs more UT, though, which will be added later. refs #5167

Note: See TracTickets for help on using tickets.