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@lists.koha-community.org
          Reporter: m.de.r...@rijksmuseum.nl
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to