Opened 16 years ago

Last modified 16 years ago

#514 new defect

Entering an accession and changing the accession id then adding a second accession with the originally entered accession id causes an error with a duplicate system inventory record

Reported by: Mark J. Millard Owned by: bweaver
Priority: major Milestone: Release Candidate 2
Component: Middle Tier Version: 2.0.1403
Severity: Keywords:
Cc: Database Engine: SQL Server
Operating System: Windows 7 Ultimate 64 bit

Description

The scenario is that I am manually entering a list of accession records and as I am going through I accidently enter the accession number for the next item on the list with data for the current item. I catch my error after saving the data and change the accession number to the correct number. I then move on to the next item on the list and enter the accession number and its data and try to commit the accession number. I get this error message from the Curator Tool:

Cannot insert duplicate key row in object 'dbo.inventory' with unique index 'ndx_uniq_inv'. The statement has been terminated.

The workaround is that the operator needs to remove the system inventory from this new record and somehow go back and add a system record on the previous record.

The proper behavior is that these system inventories are managed by the software correctly and the operator doesn't have to worry about the system inventories.

Change History (1)

comment:1 by Mark J. Millard, 16 years ago

This is still a problem in v 2.0.1423.0 of middle tier.

Note: See TracTickets for help on using tickets.