[Koha-bugs] [Bug 20097] New: marc2dcxml croaks on format dc
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 29 10:31:57 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20097
Bug ID: 20097
Summary: marc2dcxml croaks on format dc
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: m.de.rooy at rijksmuseum.nl
QA Contact: testopia at bugs.koha-community.org
Format 'dc' could be accepted by C4::Record::marc2dcxml since there is a xslt.
I saw this error in my log:
The format argument (dc) not accepted.
Please pass a valid format (oaidc, srwdc, or rdfdc)
at opac/opac-export.pl line 80.
[Probably from Googlebot or so.]
I would prefer to see 'Format not supported' rather than 'Internal server
error'.
We can achieve that by using the same regex in opac-export.pl and Record.pm.
Note that I skip catalogue/export.pl here, since it has no fallback at the end,
and will not be called by bots.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list