Opened 11 years ago

Closed 10 years ago

#1149 closed defect (fixed)

taxonomy triggers do not validate authors with a comma correctly

Reported by: Kurt Endress Owned by: Kurt Endress
Priority: medium Milestone: NPGS 2016_06 (Jun)
Component: Middle Tier Version: 1.9.6.41 CT
Severity: Keywords: author trigger taxonomy comma
Cc: Database Engine: N/A
Operating System: N/A

Description

I have just discovered that the current database trigger to validate author strings (for taxonomy_family: author_name; taxonomy_genus: genus_authority; taxonomy_species: species_authority, subspecies_authority, variety_authority, subvariety_authority, forma_authority) on save does not accept certain values from taxonomy_author when in combination with other author abbreviations from taxonomy_author. For example, I cannot save “R. Br., orth. var.” as an author string although both segments (“R. Br.” and “orth. var.”) exist in taxonomy_author. It is the “, orth. var.” that prevents the save of this string. There are currently over 500 genus records alone with this particular string in the authorship. There are also other author string terminations that would be similarly problematic (like “, nom. illeg.”, “, nom. nud.”, “, nom. inval.”), but I cannot extract a list of them because I cannot do (or don’t know how to do) a case-sensitive search in the Search Tool, since all will begin with lower-case letters.

John

Attachments (1)

1149.pdf​ (838.9 KB ) - added by Lisa Burke 11 years ago.
Approval for 1149

Download all attachments as: .zip

Change History (5)

comment:1 by Kurt Endress, 11 years ago

Summary: taxonomy triggers do not validate athors with comma correctly → taxonomy triggers do not validate authors with a comma correctly

comment:2 by Kurt Endress, 11 years ago

Owner: set to Kurt Endress
Status: new → accepted

Changed the CheckAuthority method in tax triggers for species, genus, and family. Put new GrinGlobal.AdditionalDataTriggers.dll on npgsdev for testing. Successfully added new species record having comma in authority.

by Lisa Burke, 11 years ago

Attachment: 1149.pdf​ added

Approval for 1149

comment:3 by Martin Reisinger, 10 years ago

Milestone: Post-NPGS Prod'n → NPGS 2016_06 (Jun)

comment:4 by Kurt Endress, 10 years ago

Resolution: → fixed
Status: accepted → closed
Note: See TracTickets for help on using tickets.