Opened 10 years ago

Closed 10 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)

ItemFileReadStore.js.patch (708 bytes) - added by jsonn 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by jsonn

Attachment: ItemFileReadStore.js.patch added

comment:1 Changed 10 years ago by Jared Jurkiewicz

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.

comment:2 Changed 10 years ago by Jared Jurkiewicz

Milestone: tbd1.5

comment:3 Changed 10 years ago by Jared Jurkiewicz

(In [21112]) Update item lookup in reference resolution case with auto-assigned identities. \!strict refs #10583

comment:4 Changed 10 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

(In [21113]) Update item lookup in reference resolution case with auto-assigned identities. \!strict fixes #10583

Note: See TracTickets for help on using tickets.