Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Fixed feature as agreed with David: Provider's getResponse method cat… #6

Merged
merged 3 commits into from
Sep 5, 2016

Conversation

olhsha
Copy link
Contributor

@olhsha olhsha commented Sep 1, 2016

…ches now any \Expression, makes am OaiPmh-Expressions out of it and adds to the xml for erroneous response.

…ches now any \Expression, makes am OaiPmh-Expressions out of it and adds to the xml for erroneous response.
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.007%) to 78.022% when pulling 8e7187a on OpenSKOS:master into bcb06cf on picturae:master.

…tance of an Oai-Exception then it is just added as an error Element directly to erroneous xml response. Otherwise it is converted, using its message, into a non-complete OaiException (i.e. without an oai error code). To handle the second case, ResponseDocument->addError is changed so that if there is no error code, then the OBLIGATORY attribute with generic value 'badArgument' is added. Possible better way to handle the situation with a generic exception: to add 'InternalServerError' to the list of admissible error code values in the scheme for OAI errors and replace 'badArgument' in addError with 'InternalServerError'.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 78.821% when pulling c992ec4 on OpenSKOS:master into bcb06cf on picturae:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 78.821% when pulling f146b00 on OpenSKOS:master into bcb06cf on picturae:master.

@dthornley dthornley merged commit 936d02a into vitec-memorix:master Sep 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants