﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
2663	Similarly named Code Groups are used for the same field by the CT	Martin Reisinger	Pete Cyr	"An international user reported the following. I confirmed that this was happening:

""...

While working on GRIN-Global recently I think I have found a bug. The bug relates to code group names and what codes are available within the GRIN-Global curator tool dropdown. I will attempt to explain as clearly as possible. 

The problem occurs with codes groups which have names where one name is a shorter version of another code group name. For example imagine a situation where you have two codes groups “SEED_TREATMENT” and “SEED_TREATMENT_STATUS” with the following codes:

-	SEED_TREATMENT: Benlate, NA, Unknown
-	SEED_TREATMENT_STATUS: Not_Treated, Treated

In this situation the codes which appear in the curator tool dropdown for SEED_TREATMENT_STATUS will be correct and only include “Not_Treated” and “Treated”. However, the codes which appear in the dropdown for SEED_TREATMENT will include both those from the SEED_TREATMENT code group and the SEED_TREATMENT_STATUS code group i.e. “Benlate”, “NA”, “Unknown”, “Not_Treated” and “Treated” will all appear.

To confirm that this problem is a bug (and not something wrong with my set up) I looked at other codes groups which already exist in GRIN-Global. There is another case of this type of code group name
-	PATHOLOGY_TEST
-	PATHOLOGY_TEST_RESULT
-	PATHOLOGY_TEST_TYPE

Sure enough, if you look at the “Contaminant” dropdown (which matches with the PATHOLOGY_TEST code group) in the “Inventory Quality Status” dataview it contains the codes found in PATHOLOGY_TEST, PATHOLOGY_TEST_RESULT and PATHOLOGY_TEST_TYPE.


A very simple solution to solve this problem is to make code group names which are not a shortened version of another code group name. In this situation I changed the name SEED_TREATMENT to SEED_TREATMENT_APPLICATION and it solved the problem. However, I thought it was worth pointing this out as a bug so that others can be made aware of it too, as it was very frustrating and time consuming trying to work out what the problem was.
...""
"	enhancement	closed	medium		Curator Tool	N/A		fixed		marty.reisinger@…	N/A	N/A
