Opened 16 years ago

Closed 15 years ago

#473 closed defect (fixed)

Saving via get_accession_annotation dataview does not work

Reported by: bweaver Owned by: bweaver
Priority: blocker Milestone: Release Candidate 1
Component: Middle Tier Version: 1.5.1346
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

When get_accession_annotation has the accession_id field mapped (to inventory.accession_id), saving data via get_accession_annotation does not work (no specific error returned). When unmapping that field, the save works.

The read-only flag is set in the dataview but it seems to be ignored. Also, inventory table should not be updated anyway since the field mapped to it is derived from the foreign key relationship (accession_annotation.inventory_id).

Change History (3)

comment:1 by bweaver, 16 years ago

Status: new → addressed

(In [1347]) - fixes #473, saveData code was incorrectly interpreting inventory as a many-to-many table.

  • fixed dataview field-level read only flag being ignored when table mapping said field was updatable and dataview said it was read only
  • fixed accession data trigger to reflect removal of inventory.site field
  • added inventory viability trigger for testing, not wired up or used yet

comment:2 by bweaver, 16 years ago

Status: addressed → released

comment:3 by Mark J. Millard, 15 years ago

Resolution: → fixed
Status: released → closed

This no longer appears to be a problem when reviewed in 2.0.4197.22509 curator tool and 2.1.1865 server tools.

Note: See TracTickets for help on using tickets.