OAI-PMH server delivers wrong error code on unsupported metadataPrefix

28 views
Skip to first unread message

Martin Malmsten

unread,
Sep 5, 2016, 1:33:37 PM9/5/16
to ica-ato...@googlegroups.com
Hi,

I created a, admittedly non-epic, patch for the error response when requesting ListRecords from the OAI-PMH server with an unsupported metadataPrefix. The error code returned was “badVerb” rather than the correct “cannotDisseminateFormat”.

I just noticed it in our installation and have not run any tests. I don’t know if you want to use this patch or simply replicate it at a time when someone is working on the server for other reasons.

Anyway, thank you for building AtoM :)

Best regards,
Martin

______________________
Martin Malmsten (martin....@kb.se)
National Library of Sweden
http://kb.se




0001-Corrected-error-code-for-ListRecords-with-erroneous-.patch
ATT00001.txt

Dan Gillean

unread,
Sep 6, 2016, 1:27:43 PM9/6/16
to ICA-AtoM Users
Hi Martin,

Thank you very much for this report, and this very proactive approach!

I will replicate the issue and file a ticket, and attach your patch to it so our developers can take a look. For us to be able to merge the code and credit you as a contributor, we would need you to sign a Contributor's agreement - more information, and a copy of the agreement, can be found on our wiki here:

You can see all the Development resources, including information on our code review process, here:

If you have any questions or concerns, please feel free to follow up with me off-list.

Thanks again for bringing this to our attention, and for helping us improve AtoM!


Kind regards,


Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory





--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/6C42559E-4DC0-4DB9-9C9F-2D950168C8F8%40kb.se.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages