Opened 11 years ago

Closed 9 years ago

#1209 closed defect (fixed)

References not found for Crop Relative pages due to new data migration

Reported by: dbmulg Owned by: Kay Kittell
Priority: medium Milestone: Server Release 1.10.1
Component: Public Website App. Version: 1.9.6 Server
Severity: Keywords: Taxonomy, Crop Relative, Reference
Cc: Database Engine: N/A
Operating System: N/A

Description

Email from John Wiersema:
Laura,

In migrating from the GC schema to that of GG, we created a “type_code” in the “citation” table to allow for the distinction of citations to be used for various web displays, a distinction that in GC had to be made in what is now the “note” field. Presently, citation type_codes are used to distinguish nodulation, medicinal, and crop relative citations. Because the data had to be moved from the note field to the type_code after implementation of GG, and some issues of indexing had first to be overcome, we have only just yesterday finished with this data migration.

However, now this has resulted in the “Reference” [note that “Reference” is only accurate when there is only 1 listed, otherwise the plural “References” should be used] that are linked from the crop relative web pages (see screen captures below) not being found, because the software is looking in the note field for the cue to display these citations, when it should now be keying on the type_code field of the citation table. Note also that there is no taxon name [which should include the “name” and the name_authority” together] being displayed on the “Literature References ...” pop-up.

A secondary effect of this is that duplicate references are now being displayed on a taxon page (see final screen capture below), because using content at the beginning of the “note” field will no longer work to exclude them; one must use the “type_code” field to do so.

Attachments (3)

JM1.jpg​ (289.8 KB ) - added by dbmulg 11 years ago.
JM2.jpg​ (44.6 KB ) - added by dbmulg 11 years ago.
JM3.jpg​ (329.5 KB ) - added by dbmulg 11 years ago.

Download all attachments as: .zip

Change History (8)

by dbmulg, 11 years ago

Attachment: JM1.jpg​ added

by dbmulg, 11 years ago

Attachment: JM2.jpg​ added

by dbmulg, 11 years ago

Attachment: JM3.jpg​ added

comment:1 by Melanie Schori, 9 years ago

Owner: changed from dbmulg to Kay Kittell
Status: new → assigned

On the taxonomydetail aspx, please change the References section so that only citations where type_code = NULL are displayed.

​https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=10713 - the last two references are identical. One has the type code that is used to display the CWR references on the CWR page. The other has a null value, and it is the one that should be displayed here.

comment:2 by Kay Kittell, 9 years ago

Status: assigned → addressed

comment:3 by Kay Kittell, 9 years ago

changed dataview web_taxonomyspecies_references to include
and c.type_code is null

comment:4 by Mark J. Millard, 9 years ago

Milestone: Post-NPGS Prod'n → Server Release 1.10.1

comment:5 by Kay Kittell, 9 years ago

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