Issue 13407

Occurrence paging broken

13407
Reporter: mdoering
Assignee: fmendez
Type: Bug
Summary: Occurrence paging broken
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2013-06-25 18:39:47.617
Updated: 2013-08-29 14:44:32.03
Resolved: 2013-07-24 15:32:23.681
        
Description: You always get the first page:

http://staging.gbif.org:8080/portal/occurrence/search?COUNTRY=FR&BASIS_OF_RECORD=FOSSIL_SPECIMEN&offset=100]]>
    


Author: mdoering@gbif.org
Created: 2013-06-25 18:43:00.931
Updated: 2013-06-25 18:43:00.931
        
dataset paging appears to work:
http://staging.gbif.org:8080/portal/dataset/search?q=list&offset=60
    


Author: kbraak@gbif.org
Created: 2013-06-26 10:02:50.213
Updated: 2013-06-26 10:02:50.213
        
The problem as far as I understand it, is that the limit parameter is not being honored when the limit is greater than the maximum default [20]). Fede has fixed the problem here: https://code.google.com/p/gbif-common-resources/source/detail?r=1546

[~omeyn@gbif.org] will update the occurrence mother pom to use the latest version of the occurrence search web service. 
    


Author: fmendez@gbif.org
Created: 2013-06-27 10:37:01.383
Updated: 2013-06-27 10:37:01.383
        
Kyle, yes, indeed, I've fixed that, the issue was initially reported by someone else who was trying to use the api, that was reported by email to Jan:
Email info:
From: Scott Loarie [mailto:loarie@gmail.com]
Sent: 12. juni 2013 19:31
To: Jan Legind [GBIF]; Stan Blum
tan Blum (cc'd) and I found one other mystery we're trying to solve. Do you know why this record:
http://collections.calacademy.org/bot/specimen/CAS:BOT:862631

Isn't returned by this GBIF search?

http://data.gbif.org/occurrences/search.htm?c%5B0%5D.s=12&c%5B0%5D.p=0&c%5B0%5D.o=CAS&c%5B1%5D.s=14&c%5B1%5D.p=0&c%5B1%5D.o=862631
.....