tomay / rebioma

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

No value in the VerbatimSpecies (used in search box) #329

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Apart from populate ScientificName, create a function

org.rebioma.server.util.OccurenceUtil
public static void populateVerbatimSpecies(Occurrence o, boolean updated)

Original issue reported on code.google.com by ajmrakot...@gmail.com on 27 Mar 2009 at 2:14

GoogleCodeExporter commented 9 years ago
I think there is a misunderstanding of what happens with VerbatimSpecies. It 
isn't 
populated, per se, it is chosen from the Taxon Authority based on the Genus, 
SpecificEpithet, and NomenclaturalCode. In other words, VerbatimSpecies doesn't 
get 
populated in the same way as ScientificName - instead it gets chosen if there 
is a 
match.

If there was some other intention here, please clarify it.

Original comment by gtuco.bt...@gmail.com on 27 Mar 2009 at 6:10

GoogleCodeExporter commented 9 years ago
I see, so we have to get the "VerbatimSpecies" value from the Taxonomy 
Authorithy
fixed in r 1347

Original comment by ajmrakot...@gmail.com on 30 Mar 2009 at 7:36

GoogleCodeExporter commented 9 years ago
OK, now I see what you were saying. The fix in r1347 was not correct. It should 
be 
occurrence.setVerbatimSpecies(c.getVerbatimSpecies()). I committed this change 
in 
r1351.

Original comment by gtuco.bt...@gmail.com on 30 Mar 2009 at 7:11