Opened 7 years ago

Closed 7 years ago

#10583 closed defect (fixed)

null dereference when parsing hierachical data without identity attribute

Reported by: jsonn Owned by: jaredj
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 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by jsonn

comment:1 Changed 7 years ago by jaredj

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 7 years ago by jaredj

  • Milestone changed from tbd to 1.5

comment:3 Changed 7 years ago by jaredj

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

comment:4 Changed 7 years ago by jaredj

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.