[Ala-portal] Issue in the Explore your Area section

Nick.Dosremedios at csiro.au Nick.Dosremedios at csiro.au
Tue Aug 26 01:50:56 CEST 2014


Hi Santiago,

It seems like your "Explore your area" (EYA) table and map are returning the correct points/records but then the linked "occurrence search" results don't get any records. The links you provided are the search result links but I need to be able to compare them with the URLs for the AJAX calls that are coming from the EYA page.

If I use the Chrome "inspector" (or FF Firebug), looking at the "Network" tab, I can see that the EYA page (ALA version - http://biocache.ala.org.au/explore/your-area#-25.274398|133.77513599999997|12|ALL_SPECIES<http://biocache.ala.org.au/explore/your-area#-25.274398%7C133.77513599999997%7C12%7CALL_SPECIES>) is sending these XHR requests:

(see https://dl.dropboxusercontent.com/u/2179526/EYA-ajax-screen-1.png)

- http://biocache.ala.org.au/ws/geojson/radius-points.jsonp?callback=jQuery183009473538515157998_1409009384679&lat=-25.274398&lon=133.77513599999997&radius=5&fq=geospatial_kosher%3Atrue&qc=&zoom=12&group=ALL_SPECIES&_=1409009385146

for map dots

- http://biocache.ala.org.au/ws/explore/groups.json?callback=jQuery183009473538515157998_1409009384680&lat=-25.274398&lon=133.77513599999997&radius=5&fq=geospatial_kosher%3Atrue&facets=species_group&qc=&_=1409009385148

for groups (left column of table)

- http://biocache.ala.org.au/ws/explore/group/ALL_SPECIES.json?callback=jQuery183009473538515157998_1409009384679&lat=-25.274398&lon=133.77513599999997&radius=5&fq=geospatial_kosher%3Atrue&qc=&pageSize=50&_=1409009387958

for species in the right column of the table.

I'm guessing that there is some difference in the either the 'q', 'fq', 'qc' (or maybe 'lat', 'lon' & 'radius') params from these URLs compared to the URLs for your main search links (http://10.1.1.2/generic-hub/occurrences/search?...).

Does this help? Maybe send me the equivalent links you are seeing in your browser for your version?

You also might want to look at the DEBUG level logging in generic-hub tomcat log to see what the URLs that are being sent to biocache-service are for those search pages which are returning zero results. They might be using a different 'qc' param, etc?

Nick
--
Nick dos Remedios
Software Developer
Atlas of Living Australia<http://www.ala.org.au>
National Facilities & Collections, CSIRO<http://www.csiro.au/Organisation-Structure/National-Facilities.aspx>
nick.dosremedios at csiro.au<mailto:nick.dosremedios at csiro.au>




On 25 Aug 2014, at 10:54 pm, Santiago Martinez de la Riva <sama at gbif.es<mailto:sama at gbif.es>> wrote:

Dear Nick,

I tell you the steps that I've done:

I cloned the generic-hub repository,I added the message_es.properties file, then I generated the war and I uploaded it to my VM.

In the [Case1], the url is: http://10.1.1.2/generic-hub/occurrences/search?q=*:*&lat=40.4&lon=-3.7&radius=0.05.
[Case2]: http://10.1.1.2/generic-hub/occurrences/search?q=*:*&lat=40.4&lon=-3.7&radius=0.05.
[Case3]: http://10.1.1.2/generic-hub/occurrences/search?q=taxon_name:%22Astragalus%20alopecuroides%22&lat=40.4169&lon=-3.7036&radius=5

I have records in the specified radio, you can see them in the image1, but the system never find the information in the searchs. I think that the Brazilian team has the same problem.

Kind regards.
SaMa

---------------------------------------------------------------------------------------
Santiago Martínez de la Riva
GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
Plaza de Murillo, 2                                     sama at gbif.es<mailto:sama at gbif.es>
28014 Madrid, Spain                                 www.gbif.es<http://www.gbif.es>

________________________________________
De: Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au> [Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au>]
Enviado el: lunes, 25 de agosto de 2014 5:39
Para: Santiago Martinez de la Riva
CC: ala-portal at lists.gbif.org<mailto:ala-portal at lists.gbif.org>
Asunto: Re: [Ala-portal] Issue in the Explore your Area section

Hi Santiago,

I've tested that on a local version (generic-hub) and it works OK for me.

Could you send me the URL (if site is publically available) so I can see what AJAX services are sending, etc.?

Cheers

Nick
--
Nick dos Remedios
Software Developer
Atlas of Living Australia<http://www.ala.org.au>
National Facilities & Collections, CSIRO<http://www.csiro.au/Organisation-Structure/National-Facilities.aspx>
nick.dosremedios at csiro.au<mailto:nick.dosremedios at csiro.au><mailto:nick.dosremedios at csiro.au>




On 20 Aug 2014, at 8:05 pm, Santiago Martinez de la Riva <sama at gbif.es<mailto:sama at gbif.es><mailto:sama at gbif.es>> wrote:

Hi all,

We are testing again the ala portal, and I think that we have found a issue that I’m going to explain us below.

The issue is in the "Explore your Area" section.

[Case 1]. In the image1, we can see that there is one point into the area, exactly with one record. Then if we want to list this record, we  can click on the option "View list of records"  but the system shows us the next message: "No records found for *:*" (View image2) ".
[Case 2] This is also the case, when we try to do the same with the option "View all records" (View image3).
[Case 3 ]In other hand, if we try to list a specific record that we can see in the left list through the option "list of records" (View image4), in this case the system shows us this message "No records found for taxon_name:"Crepis bursifolia" ". (View image5)

In general, it´s like if these operations of  "Explore your Area" are not connected to the indexing of solr.
But I want to do one puntualization. In the first case, it makes no sense that the system shows us that error, because we are filtering the records that we want that the system shows us, when we click on the link of the bubble of that specific point in the area. I hope this helps to trace the error.

Many thanks and kind regards by SaMaxD.


---------------------------------------------------------------------------------------
Santiago Martínez de la Riva
GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
Plaza de Murillo, 2                                     sama at gbif.es<mailto:sama at gbif.es><mailto:sama at gbif.es>
28014 Madrid, Spain                                 www.gbif.es<http://www.gbif.es><http://www.gbif.es>
<Image1.png><Image2.png><Image3.png><Image4.png><Image5.png>_______________________________________________
Ala-portal mailing list
Ala-portal at lists.gbif.org<mailto:Ala-portal at lists.gbif.org><mailto:Ala-portal at lists.gbif.org>
http://lists.gbif.org/mailman/listinfo/ala-portal

_______________________________________________
Ala-portal mailing list
Ala-portal at lists.gbif.org<mailto:Ala-portal at lists.gbif.org>
http://lists.gbif.org/mailman/listinfo/ala-portal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gbif.org/pipermail/ala-portal/attachments/20140825/b65ed2ec/attachment-0001.html 


More information about the Ala-portal mailing list