Bug #4345
OAI plugin - error handling problems
Status: | Verified | Start date: | ||
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | David Juhasz | % Done: | 0% | |
Category: | OAI-PMH | |||
Target version: | Release 1.4.0 | |||
Google Code Legacy ID: | atom-2397 | Tested version: | ||
Sponsored: | No | Requires documentation: |
Description
To reproduce this error:
1)enable the OAI plugin
2)enable OAI via admin | settings
3)switch to debug mode
4)send an incorrect OAI command like http://host/qubit_dev.php/;qyOaiPlugin?verb=wrong
Resulting error:
Action "oai/error" does not exist
Expected result:
OAI response with properly formatted error message
[g] Legacy categories: OAI-PMH
History
#1 Updated by Tim Hutchinson almost 10 years ago
- Status changed from New to New
Solution seems to be to change
$this->forward('oai', 'error');
to
$this->forward('qtOaiPlugin', 'error');
- in plugins/qtOaiPlugin/modules/qtOaiPlugin/actions/indexAction.class.php
[g] Labels added: Component-OAI
#2 Updated by Tim Hutchinson almost 10 years ago
URL in summary is incorrect - should be ;qtOaiPlugin not ;qyOaiPlugin
#3 Updated by Jessica Bushey over 9 years ago
- Category set to OAI-PMH
- Sponsored set to No
#4 Updated by Dan Gillean about 9 years ago
- Assignee set to José Raddaoui Marín
- Target version set to Release 1.4.0
#5 Updated by Dan Gillean about 9 years ago
- Description updated (diff)
- Assignee changed from José Raddaoui Marín to David Juhasz
#6 Updated by Dan Gillean almost 9 years ago
- Status changed from New to Verified
This issue seems to have been address in some of the other related issues. Entering an invalid term will return an error code "Value of the verb argument is not a legal OAI-PMH verb, the verb argument is missing, or the verb argument is repeated."
As such, marking as verified.