﻿__group__	ticket	summary	component	milestone	type	created	_description_	_changetime	_reporter
bweaver	575	"Error message with import_cooperator dataview with all fields give error message ""Index was out of range...."""	Import Wizard	Release Candidate 3	defect	2010-11-09T06:43:44-05:00	"I enhanced the import_cooperator dataview to handle current_cooperator and when trying to run I get this message:

Failure - Index was out of range. Must be non-negative and less than the size of the collection.  Parameter name: index

Data appeared to load anyway.  I don't know if is a dataview construction error, source data error, or import wizard problem.  Working on 2.0.1608."	2014-09-17T08:26:59-04:00	Mark J. Millard
bweaver	306	GG apps do not work under 64-bit OS with Oracle backend	Middle Tier	TTT Snapshot	defect	2010-02-04T19:01:00-05:00	"Due to a limitation in the .NET connector drivers provided by Oracle, we can not currently run GG apps against an Oracle backend in a 64-bit OS.

[http://tiredblogger.wordpress.com/2007/11/21/oracle-data-access-components-odac-with-64-bit-development/]

The 'default' install path for GG apps on 64-bit OS is ""C:\Program Files (x86)\GRIN-Global"", and the parentheses causes issues for the Oracle driver.

The installer code can function properly since it is run using the oracle command line tool sqlplus.exe that is installed by default somewhere under ""C:\oracle\"".

Until oracle releases a patch, we will not be able to use oracle as a backend on 64-bit OS using the default installation path for 32-bit executables (i.e. ""C:\Program Files (x86)\"").

32-bit OS's do not exhibit this problem because the default install path is ""C:\Program Files\GRIN-Global"" (i.e. no parentheses in the path).
"	2010-03-15T14:58:34-04:00	bweaver
bweaver	313	Search engine SQL statements need to work for all database engines	Search Engine	Beta 3	defect	2010-02-11T23:48:45-05:00	"The search engine config files contain SQL that is heavily database engine-specific.  We should be able to rebuild indexes against any of the 4 database engines, as well as perform realtime updates.  The SQL currently works for SQL Server.

This ticket should be worked on in conjunction with #295 and #299 -- they all require rewriting search engine SQL.

This ticket should also probably be done after those two.  i.e. get it all working on SQL Server, then just port the SQL statements to the other 3 engines.

Just FYI -- this ticket represents a large amount of work (300+ SQL statements need to be rewritten and verified for each database engine). "	2010-03-30T13:44:15-04:00	bweaver
dbmubh	1943	Evaluate Design of New Cultivar and Cultivar-Group Tables	Database, Schema Changes	Server Release (TBD)	enhancement	2019-11-21T15:48:39-05:00	"To expand the exchange of data with partner organizations -- in this specific case, the National Arboretum -- we would like to discuss the design of a **cultivar** table, and related **cultivar_group** table. This would:
1) Enable the Arbotetum and, ostensibly, other partners to use GRIN-Global more effectively, and
2) Enable the ARS to more accurately and efficiently store existing data, where cultivars are currently intermixed with other data, where they cannot be accurately referenced.

Data structure in attached spreadsheet."	2026-11-23T12:57:14-05:00	Benjamin Haag
dbmubh	3112	is_smta_restricted	Database, Schema Changes		defect	2025-07-31T15:47:25-04:00	"The is_smta_restricted field was added to the schema 10 months ago to the web_request_item and the order_request_item tables.

In order to facilitate SMTA reporting, this field needs to be added to the two standard CT dataviews, the web_request_item and the order_request_item dataviews.

Furthermore, in a separate process (trac ticket), after this has been completed, the NPGS needs to update/validate all international requests that were shipped since Jan 1 2024 to reflect accurately the NPGS SMTA reporting data."	2025-08-04T08:25:26-04:00	Martin Reisinger
dbmubh	1751	Generate Notification Email When Nomenclature Changes	GGTools, Taxonomy Editor		enhancement	2018-09-28T14:51:54-04:00	Several curators have requested an email notification when there is a name change for a taxon with accessions at their site. While there is a report they can run, they might receive orders for a name that isn't reflected in their accessions and only realize that the name has changed after spending quite a bit of time hunting for inventory. In some cases, the curator changes when the name changes. The trigger would most likely be generated from the creation of an accession annotation record. I am working to update the priority sites and curators in the taxonomy_species table, which will need to be used to determine which cooperators need to receive the email.	2025-01-15T11:47:12-05:00	Melanie Schori
dbmubh	2843	Ensure Ownership of System Inv Record matches Acession ownership	Database, Data Updates		defect	2023-07-20T16:03:37-04:00	"When an accession ownership is transferred to a different owner, the system inventory ownership doesn't change but should. 

Some mechanism/trigger should be written to enforce matching ownership - the accession and the system inventory records. "	2025-09-05T13:59:20-04:00	Martin Reisinger
dbmubh	3048	Correct Data Errors in Production	Database, Data Updates		defect	2025-01-22T13:13:30-05:00	"=== Overview
Below are two queries that identify erroneous data currently in production (compiled by Kurt Endress).

=== Steps
1) Run queries indicated below.
2) Notify cooperator record owners of issue(s).

==== 1) Accessions without any inventory record

-- ST query

WHERE NOT EXISTS (SELECT * FROM inventory WHERE accession_id = accession.accession_id)

-- SQL

{{{
SELECT CONCAT(accession_number_part1, ' ', accession_number_part2, ' '+accession_number_part3) AS accession

FROM accession a

WHERE NOT EXISTS (SELECT * FROM inventory WHERE accession_id = a.accession_id)\
}}}

dup 2

dup 5

dup 6

NA 58798

NA 58800

NA 62072

NA 80457

NA 80465

NA 87732

NA 87733

PI 401753

PI 495635

PI 705164

WLP 868

==== 2) Recent order final requestors without a country.

-- ST query

{{{
@cooperator.geography_id IS NULL

AND @cooperator.cooperator_id IN (SELECT DISTINCT final_recipient_cooperator_id FROM order_request WHERE created_date > '2020')
}}}
 

-- SQL
{{{
SELECT cooperator_id, first_name, last_name, organization, city

, (SELECT CONCAT(first_name, ' ', last_name) FROM cooperator WHERE cooperator_id = c.owned_by) AS owner

FROM cooperator c

WHERE geography_id IS NULL

AND cooperator_id IN (SELECT DISTINCT final_recipient_cooperator_id FROM order_request WHERE created_date > '2020')
}}}
 

See attached spreadsheet for cooperator list."	2025-01-22T13:22:42-05:00	Benjamin Haag
dbmubh	1484	schema change for hybrid display	Database, Schema Changes		enhancement	2017-08-11T13:23:21-04:00	"Carry-over from ticket 1284:

N in hybrid_code column should generate genus_name notho<indicator> division where <indicator> is indicative of the subgenera
Genus nothosubg. Subgenus
Genus nothosect. Section
Genus nothoser. Series

This needs to be changed so that the hybrid_code field in the genus table is renamed as ""Generic Hybrid"" with NULL, Graft-chimera hybrid, and Intergeneric hybrid as the code values. Fields need to be added for is_subgeneric hybrid (Y/N), is_section hybrid (Y/N), is_series_hybrid (Y/N), is_subseries_hybrid (Y/N), and is_subsection_hybrid (Y/N), where the default value is N and clicking a check box converts it to Y. Currently, this will affect two records, but other display aspects of the CT cannot be implemented without this change."	2023-03-23T16:43:31-04:00	Melanie Schori
dbmubh	1753	list comparison for taxonomy	Public Website App.		enhancement	2018-09-28T16:26:13-04:00	"To be passed around and discussed as needed.

I really need a way to submit a list of scientific names for comparison to what we have in GRIN Taxonomy. We receive multiple requests each year for updates to lists (AOSA, ISTA), or need to update our data by comparing to a list (noxious, NAPPRA, Fish & Wildlife endangered and threatened), or are asked to serve as the nomenclatural reference for an agency or site (AgriFood Canada, Mid-Atlantic Invasives) for their specific list of taxa. Currently, there is no way that I can submit a list of names to find out which ones match entries in GRIN and which ones we are missing. Curators who receive a batch of new material for accessioning would also find this extremely useful (Dave Stout with SOS material), as would users of GRIN Taxonomy around the world. In the future, it could be especially useful to our international sites when they have requests to add new names. The only way I can match a list currently is to individually query genera or species. This can take days of my time depending on the size of the list. I have a spreadsheet with tens of thousands of rows of PI numbered seeds in the national seed herbarium, and it will take me months to search for each name and update the taxonomy so they can be added to the accession voucher table. A list comparison feature would greatly reduce the amount of time I'll have to spend on this."	2020-05-28T17:38:37-04:00	Melanie Schori
dbmubh	1979	Linkage Needed Between Accession to Collection Missions	Database, Schema Changes	Server Release (TBD)	enhancement	2020-02-28T18:25:43-05:00	"Linkage between accessions and collection missions has been requested by the international GG committee. Add field to the Exploration table.

It was requested that linkage could be established with the accession_source table as well. "	2020-05-28T19:02:24-04:00	Martin Reisinger
dbmubh	2041	The Order Items table should include the accession source geography and this lesser-used field (item geography?) should be renamed so it is less confusing	Dataviews (CT)	ADCOM PRIORITY 2025	enhancement	2020-06-19T11:00:50-04:00	the 'order_wizard_get_order_request_item' dataview is using different SQL than the 'get_order_request_item' for the 'Geography' field.  It appears that Stacy and Laura would prefer to see the SQL from the Order Wizard used for the CT dataview as well.	2025-02-11T08:17:41-05:00	Lisa Burke
dbmubh	2748	Add parent_test field to inventory_viability	Database, Schema Changes	Next Release - Server	enhancement	2023-02-17T11:32:52-05:00	"ALTER TABLE inventory_viability
ADD parent_test INT NULL FOREIGN KEY 
REFERENCES inventory_viability (inventory_viability_id)

This allows linking tests i.e., an experimental test paired with a control, a monitor test paired with an external test, etc."	2023-05-24T10:33:30-04:00	Cullen McGovern
dbmubh	2802	Create Economic Usage Type Table	Database, Schema Changes		enhancement	2023-05-01T18:14:56-04:00	"Move existing economic usage codes and types into a separate table:
1) Create new table **taxonomy_usage_type**.
2) Migrate data.
3) Replace existing code and type columns in **taxonomy_use** with FK reference to new table.
4) Modify the following dataviews, such that they link to the new table:
   4.1) **get_taxonomy_use**
   4.2) **web_lookup_taxon_use_class**
   4.3) **web_lookup_taxon_use_class_2**
   4.4) **web_lookup_taxon_use_subclass**
   4.5) **web_lookup_taxon_use_subclass_2**
5) Coordinate any needed PW changes with Kay Kittel related to the World Economic Plants page (and any other components that use econ. use data)."	2023-05-20T09:28:51-04:00	Benjamin Haag
dbmubh	2822	Expand the uniqueness constraint in the NC7 site specific dataview	Database, Schema Changes	ADCOM PRIORITY 2025	enhancement	2023-06-20T14:19:48-04:00	It appears that a recent ticket from Mark Millard, which covers the creation of the table **nc7_inventory_location_data**, addresses this same issue. Is this true>	2025-02-11T08:10:34-05:00	Lisa Burke
dbmubh	2888	Maintenance Policy Updating	Database, Data Updates		enhancement	2024-01-02T15:32:37-05:00	"A user requested: ""I wish there was a way to have the associated distribution fields (form, quantity, critical amounts) auto-update when inventory maintenance policies (IMPs) are changed for particular inventory items.""

This change would make the IMPs more useful and would be more in line with what a ""policy"" should be able to control. As this author has stated many times, the current IMP in GG serves more as a template, since it only affects new inventory records that are being created and does not change the existing inventory records. 

It would also reduce the inconsistency among inventory records that occurs when inventory records have been created with different versions of the same IMP. "	2024-01-29T18:47:40-05:00	Martin Reisinger
dbmubh	3012	Add fields to site table	Database, Schema Changes		enhancement	2024-10-15T15:30:48-04:00	All information related to site, such as address, email, etc., should logically be put into the site table.  This will make it easier to get site information for the PW.	2024-10-15T18:01:06-04:00	Kay Kittell
dbmubh	2758	Create a new code group to contain  PW visible order request action code	Database, Data Updates		task	2023-02-27T16:08:36-05:00	"Currently, 1) CT user could see what order action code PW user could see from his/her web order history detail page, the visible order action codes are a subset of the available order action code. 2) PW dataview has to use hard-code way to filter the code out.

To address the issue in a simple way, the suggestion is to create a new code group called ORDER_REQUEST_ACTIONS_PW_VISIBLE and having the dataview check the order action codes against that. If the action_name_code is in the PW_VISIBLE list show it, otherwise don’t. Then the curators could execute some simple SQL to check which codes would be visible, such as:
SELECT value FROM code_value cv WHERE cv.group_name = 'ORDER_REQUEST_ACTIONS_PW_VISIBLE'"	2023-03-29T09:47:48-04:00	dbmulg
dbmumr	838	Send a csv attachment along with the web order email	Public Website App.	Post 1.0	enhancement	2013-09-10T17:13:56-04:00	Would it be possible to send a csv attachment with the web order email?  That way the user could then easily extract her site’s respective accessions? 	2019-03-25T16:47:23-04:00	Martin Reisinger
nc7pc	1530	Search Tool Dataview Tab Managers	Other	1.10.2	defect	2017-11-07T14:21:26-05:00	"* We need a straight-forward way to select &/or remove tabs quickly from the Search Tool (#862)
* the Tab Manager should have the same functionality and appearance as the Curator Tool’s
* the Search Tool could have an option to display the Curator Tool’s tabs
* the user should have the option to duplicate a DV’s column settings from the CT to the ST

"	2018-10-04T16:15:41-04:00	Martin Reisinger
