tubackkhoa / gbif-dataportal

Automatically exported from code.google.com/p/gbif-dataportal
0 stars 1 forks source link

Links on occurrence detail page and web service request point to wrong species page #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. open and occurrence page (e.g. http://data.gbif.org/occurrences/144067226/)
2. click on "View: View information for Opaepele loihi"
3. Observe that the taxon page opening is not for the nub concept, but also for 
the data resource treatment: from the species page 
http://data.gbif.org/species/53538551, click on "names and classification" to 
the the source dataset
4. open the corresponding web service response: 
http://data.gbif.org/ws/rest/occurrence/get/144067226. See that the taxon page 
URL (and other links) gives http://data.gbif.org/species/53538551

What is the expected output? What do you see instead?

 The "view information" link should lead to the nub taxon page, as opposed to the neighbouring "View (...) classification according to (...)" which gives the source treatment. Currently, both lead to the same source treatment page. The corresponding web service request (http://data.gbif.org/ws/rest/occurrence/get/144067226) also should give the nub taxon (http://data.gbif.org/species/2223094/), not the taxon concept of the source dataset.

Reported by: 
 Roderic Page ‏@rdmpage, via Twitter
".@GBIF Occurrence http://data.gbif.org/occurrences/144067226/ … appears on 
page http://data.gbif.org/species/2223094/ … but linked to 
http://data.gbif.org/species/53538551 … (which has no occurrences!?)"

additional detail:
"I went from http://data.gbif.org/species/2223094/ to the occurrences for this 
species from NMNH Invertebrate Zoology Collections http://bit.ly/ZkIbs8. If I 
click on an occurrence http://data.gbif.org/occurrences/144067226/ then all 
taxonomic links are to the NMNH classification (but this isn't stated). 

For example, the row labelled "GBIF classification" is not the nub 
classification but the "b-names". At the top it says "View information for 
Opaepele loihi" which is a link to the NMNH classification 
http://data.gbif.org/species/53538551 not the nub classification. Indeed 
there's no link to the nub classification from the occurrence page.

If I access the occurrence using the web service 
http://data.gbif.org/ws/rest/occurrence/get/144067226 I also get the 
http://data.gbif.org/species/53538551 taxon, not the nub taxon.

I understand the reason for storing the provider classification, but the portal 
doesn't make it clear which is which, and they seem disconnected. If I'm 
looking at an occurrence, either on the portal of via the web services, I'd 
expect to see a link to the nub classification somewhere, but I don't."

Original issue reported on code.google.com by ah...@gbif.org on 8 Jan 2013 at 10:51

GoogleCodeExporter commented 8 years ago
Changes needed at r389. The changes are now live at data.gbif.org

Original comment by josecua...@gmail.com on 15 Jan 2013 at 9:35