Issue 12423

endOfRecords in dataset listing is true when there still are more records

12423
Reporter: mdoering
Assignee: mdoering
Type: Bug
Summary: endOfRecords in dataset listing is true when there still are more records
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2012-12-03 11:18:33.88
Updated: 2013-12-16 17:50:35.501
Resolved: 2012-12-11 15:38:03.551
        
Description: endOfRecords in datasetService.list(page) is set to true only if the returned amount of records equals limit. In case we "drop records (which happens because of invalid EML, see issue REG-352) endOfRecrods is set to true even though there are more records to page through:

http://staging.gbif.org:8080/registry-ws/dataset/?offset=13337&limit=2]]>
    


Author: mdoering@gbif.org
Comment: http://code.google.com/p/gbif-registry/source/detail?r=3382
Created: 2012-12-11 15:38:03.579
Updated: 2012-12-11 15:38:03.579