Opened 10 years ago

Closed 10 years ago

#1395 closed defect (fixed)

Species lookup produces NUll in two cases

Reported by: Kurt Endress Owned by: Kurt Endress
Priority: medium Milestone: Next Release - Server
Component: Dataviews (CT) Version: Server 1.9.7.1
Severity: Keywords: species lookup dataview
Cc: Database Engine: SQL Server
Operating System: N/A

Description

The taxonomy_species_lookup dataview produces a NULL display_member result in two cases. Initially reported by Lee Ann Chalkley for PI 183344 Psoralea spp.. Apparently the result of concatenating a NULL authority in the case of a synonym species.

Change History (3)

comment:1 by Kurt Endress, 10 years ago

Added a COALESCE around the authority to deal with NULLs

THEN CONCAT(ts.name, CONCAT(' ', COALESCE(ts.name_authority, )))

Saved as taxonomy_species_lookup_20170131 on npgsdev for testing.

comment:2 by Kurt Endress, 10 years ago

Loaded to npgsdb for production use from taxonomy_species_lookup_20170131

comment:3 by Kurt Endress, 10 years ago

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