Opened 3 years ago

Closed 3 years ago

#2926 closed defect (fixed)

Taxonomy Species Table: Current Taxonomy Species ID Field Must Be Nullable

Reported by: Benjamin Haag Owned by: Benjamin Haag
Priority: blocker Milestone:
Component: Database, Schema Changes Version: N/A
Severity: Keywords:
Cc: melanie.schori@…, gary.kinard@…, marty.reisinger@… Database Engine: N/A
Operating System: N/A

Description

The trigger that fires on insert must be able to insert a record, obtain an auto-generated ID, and then set the current ID to that value, by default.

Trigger currently failing.

Change History (3)

comment:1 by Benjamin Haag, 3 years ago

Ran the following in prod:

ALTER TABLE taxonomy_species ALTER COLUMN current_taxonomy_species_id INT NULL

comment:2 by Benjamin Haag, 3 years ago

Verified with Melanie that issue is fixed in prod and Taxonomy Wizard is now functional.

Problem had been caused by test script incorrectly appended to and run as part of routine prod indexing process. Change-management process to be improved.

comment:3 by Benjamin Haag, 3 years ago

Cc: melanie.schori@… gary.kinard@… marty.reisinger@… added
Component: Other → Database, Schema Changes
Resolution: → fixed
Status: assigned → closed
Note: See TracTickets for help on using tickets.