Opened 10 years ago

Closed 4 years ago

#1328 closed AdCom (invalid)

Top Name rank trigger

Reported by: Lisa Burke Owned by: Kurt Endress
Priority: medium Milestone:
Component: Trigger Version: 1.9.6 Server
Severity: Keywords: Top name rank trigger
Cc: Database Engine: N/A
Operating System: N/A

Description

When adding a new Accession/Inventory name and allowing the CT to assign the number, it will select a number that might override the current top name. Need to revisit the way the CT assigns the numbers. I came across this when I was adding a new name to an accession that was transferred to NC7. Ames 33373. I added a name group identifier and left the rank blank. The system assigned a number that trumped the top name. Also reference #1323 and #1324

From Quinn and my conversation:
RankCategory.Add("CULTIVAR", 10);
RankCategory.Add("UNVERIFIED", 20);
RankCategory.Add("LOCALNAME", 30);
RankCategory.Add("CGIAR", 35);
RankCategory.Add("INSTITUTE", 40);
RankCategory.Add("DEVELOPER", 50);
RankCategory.Add("DONOR", 60);
RankCategory.Add("COLLECTOR", 70);
RankCategory.Add("SITE", 80);
RankCategory.Add("QUARANTINE", 90);
RankCategory.Add("OTHER", 100);
RankCategory.Add("DUPLICATE", 110);
RankCategory.Add("MISIDENT", 120);
RankCategory.Add("TRADEMARK", 130);

So your new site identifier got an 80 which is the lowest in the group so it become topname. We may need to revise this and add 1000 to the defaults above. In GC we had a topname flag and the same list of defaults. But if the topname flag was null it added 1000. Only if topname was set did it leave the low numbers. In GG we no longer have the topname flag so maybe we need to change the defaults to be 1000 higher to better mesh with the data that came from GC. Maybe write a ticket? -q

Change History (2)

comment:1 by Lisa Burke, 10 years ago

Component: Other → Trigger
Owner: set to Kurt Endress

comment:2 by Lisa Burke, 4 years ago

Resolution: → invalid
Status: new → closed
Note: See TracTickets for help on using tickets.