From 7adb10bde46a8eeaa99103dd9decbbfbe45344c8 Mon Sep 17 00:00:00 2001 From: j-panzer Date: Tue, 21 Nov 2023 15:00:28 +0100 Subject: [PATCH] Remove allowed argument check the check results in an 'OaiException' with message 'Bad argument: start: 0' for paging the 'start' filed is part of the '' but this is not part of the allowed arguments 'from,until,metadataPrefix,set,resumptionToken' the implementation is otherwise ok, only the check does not fit --- src/Service/OaiService.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Service/OaiService.php b/src/Service/OaiService.php index b2b9f48..ac74ea0 100644 --- a/src/Service/OaiService.php +++ b/src/Service/OaiService.php @@ -213,7 +213,6 @@ public function start(): string if (isset($this->oaiConfiguration['metadata_format_options'][$requestArguments['verb']]['requiredArguments'])) { $this->errorRequiredArguments($requestArguments['verb'], $requestArguments); } - $this->errorAllowedArguments($requestArguments['verb'], $requestArguments); } if ('GetRecord' === $requestArguments['verb']) {