mbohun / biolink

Automatically exported from code.google.com/p/biolink
0 stars 0 forks source link

Dragging certain taxa to a lookup control can be problematic #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some species that have generic names (such as 'sp') can prove problematic for 
the LookUp controls (controls that have both an ellipsis button, and a 
magnifying class. Once the drop has completed successfully, attempting to leave 
the lookup field causes a list of matching taxa to be displayed, and will not 
allow the user to proceed until either the lookup control is cleared, or a taxa 
is selected, even though a specific taxa has already been dropped. This is 
being caused by an over zealous validation routine that gets executed when the 
focus is lost. It searches for taxa that match the text in the lookup control, 
and will only will pass if both the TaxonID and the name match, The problem 
with 'dropped' taxa is that is not a full name, and so the search will not 
match the name exactly. The solution to this problem is to only ensure that the 
id matches one item in the search results.

Original issue reported on code.google.com by david.ba...@gmail.com on 31 Oct 2011 at 12:21

GoogleCodeExporter commented 9 years ago

Original comment by david.ba...@gmail.com on 31 Oct 2011 at 12:21