Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Runtime error when OAI-PMH URL is called without verb (regression) #1425

Open
stweil opened this issue Jan 7, 2025 · 1 comment
Open
Assignees
Labels
🐛 bug A non-security related bug.

Comments

@stweil
Copy link
Member

stweil commented Jan 7, 2025

Description

The OAI-PMH URL should show an error code (badVerb) if it is used without any verb.
Working example: https://digi.bib.uni-mannheim.de/oai/.

With TYPO3 11 and release 5.0.7 it creates an oops runtime error.

Reproduction

Steps to reproduce the behaviour:

  1. Configure page with OAI-PMH plugin
  2. Load URL of newly created page in web browser without adding the required verb
  3. See error

Expected Behavior

No runtime error.

@stweil
Copy link
Member Author

stweil commented Jan 7, 2025

If a verb is given, the plugin produces the expected OAI-PMH XML.

stweil added a commit to stweil/kitodo-presentation that referenced this issue Jan 8, 2025
This is a backport of a fix contributed in commit 4e77a8f.
It fixes the issue kitodo#1425.

Signed-off-by: Stefan Weil <[email protected]>
@sebastian-meyer sebastian-meyer added the 🐛 bug A non-security related bug. label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug A non-security related bug.
Projects
None yet
Development

No branches or pull requests

2 participants