Issue 13791
crawl history response says records: 5 but shows only 1
13791
Reporter: omeyn
Assignee: trobertson
Type: Bug
Summary: crawl history response says records: 5 but shows only 1
Priority: Major
Resolution: Fixed
Status: Resolved
Created: 2013-09-06 16:46:00.217
Updated: 2014-08-08 13:35:58.078
Resolved: 2014-08-08 13:35:58.046
Description: here's the response I got for this url:
http://minicrawler.gbif.org:8080/registry-ws/dataset/af3bce08-0599-45a6-9bfc-08188bcd868e/process
{
"offset": 0,
"limit": 20,
"endOfRecords": true,
"count": 5,
"results": [
{
"datasetUuid": "af3bce08-0599-45a6-9bfc-08188bcd868e",
"crawlJob": {
"datasetUuid": "af3bce08-0599-45a6-9bfc-08188bcd868e",
"endpointType": "DWC_ARCHIVE",
"targetUrl": "http://danbif.au.dk/ipt/archive.do?r=aves_tanza",
"attempt": 2
},
"startedCrawling": "2013-09-05T22:00:00.000+0000",
"finishedCrawling": "2013-09-05T22:00:00.000+0000",
"finishReason": "NORMAL",
"pagesCrawled": 1,
"pagesFragmentedSuccessful": 1,
"pagesFragmentedError": 0,
"fragmentsEmitted": 0,
"fragmentsReceived": 0,
"rawOccurrencesPersistedNew": 0,
"rawOccurrencesPersistedUpdated": 0,
"rawOccurrencesPersistedUnchanged": 0,
"rawOccurrencesPersistedError": 0,
"fragmentsProcessed": 0,
"verbatimOccurrencesPersistedSuccessful": 0,
"verbatimOccurrencesPersistedError": 0,
"interpretedOccurrencesPersistedSuccessful": 0,
"interpretedOccurrencesPersistedError": 0
}
]
}]]>
Author: omeyn@gbif.org
Created: 2013-09-06 16:46:55.232
Updated: 2013-09-06 16:46:55.232
tim says:
the problem is in the use of the resultMaps in https://code.google.com/p/gbif-labs/source/browse/registry2/trunk/registry-ws/src/main/resources/org/gbif/registry/persistence/mapper/DatasetProcessStatusMapper.xml#5