Opened 10 years ago

Last modified 10 years ago

#13405 closed defect correctly gets item by identity but don't always report their correct identity on getIdentity — at Version 1

Reported by: cjolif Owned by: Kris Zyp
Priority: high Milestone: 1.7
Component: DojoX Data Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

When you wrap a store in a you get correct result when calling: var myItem = store.get(anItemID) but if you try to get the id on the item itself: store.getIdentity(myItem) it won't give the correct ID. This happen when implicit ID is used (for example on CsvStore this is the row #, for XmlStore this is the Xpath query).

In other terms: store.get(store.get(anItemID).getIdentity()) does not work when implicit ID is used.

Attach a test case showing the problem.

Change History (4)

Changed 10 years ago by cjolif

Attachment: DataCsvStore.js added

Changed 10 years ago by cjolif

Attachment: goog_prices.csv added

comment:1 Changed 10 years ago by bill

Description: modified (diff)
Owner: changed from Jared Jurkiewicz to Kris Zyp

Changed 10 years ago by cjolif

Attachment: added

possible patch (IBM, CCLA)

Note: See TracTickets for help on using tickets.