I’m receiving the following error when I try to index a journal at the OAI Register:
Failed to extract error code from the response to request: verb=ListRecords&metadataPrefix=oai_dc&until=2017-03-02T08:13:35Z The request specified a date one year before the earliestDatestamp given in the Identify response. There should therefore not be any records with datestamps on or before this date and a noRecordsMatch error code should be returned.
I got the following solution:
function getEarliestDatestamp($selectStatement, $setIds = array()) {
$params = $this->getOrderedRecordParams(null, $setIds);
$result =& $this->retrieve(
$selectStatement . ' as the_date FROM mutex m ' .
$this->getRecordJoinClause(null, $setIds) . ' ' .
$this->getAccessibleRecordWhereClause() .
'ORDER BY the_date',
$params
);