Opened 11 years ago
Closed 11 years ago
#10583 closed defect (fixed)
null dereference when parsing hierachical data without identity attribute
Reported by: | jsonn | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | Data | Version: | 1.4.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
ItemFileReadStore? can currently not parse the output of ItemFileWriteStore? if no identity attribute is set and therefore the item index is used. The attached patch fixes this problem.
Attachments (1)
Change History (5)
Changed 11 years ago by
Attachment: | ItemFileReadStore.js.patch added |
---|
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Milestone: | tbd → 1.5 |
---|
comment:3 Changed 11 years ago by
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I'm not sure this is correct. Do you have a testcase and data where an error occurs? Referencing by identity should only be used in a data file if you specify an identiity attribute. Relying on the index is not a good approach, as how the store auto-assigns an identity can change.