Skip to content

Commit

Permalink
Remove allowed argument check
Browse files Browse the repository at this point in the history
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
  • Loading branch information
j-panzer committed Nov 21, 2023
1 parent 0088036 commit 7adb10b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Service/OaiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']) {
Expand Down

0 comments on commit 7adb10b

Please sign in to comment.