Opened 9 years ago

Last modified 9 years ago

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

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


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 (2)

Changed 9 years ago by cjolif

Attachment: DataCsvStore.js added

Changed 9 years ago by cjolif

Attachment: goog_prices.csv added
Note: See TracTickets for help on using tickets.