[koha-commits] main Koha release repository branch new/bug_10058 created. v3.12.00-beta1-247-gc5e2c06

Git repo owner gitmaster at git.koha-community.org
Sat Apr 20 04:52:09 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, new/bug_10058 has been created
        at  c5e2c06a791f97f39cc2e93fa0092de6eaa9cb07 (commit)

- Log -----------------------------------------------------------------
commit c5e2c06a791f97f39cc2e93fa0092de6eaa9cb07
Author: Magnus Enger <magnus at enger.priv.no>
Date:   Mon Apr 15 21:56:53 2013 +0200

    Bug 10058 - Fix unapi for NORMARC
    
    This patch uses a lot of MARC21 XSLT to transform NORMARC records
    to desired formats. Since NORMARC is mostly a subset of MARC21, I
    think this should give passable results. And better results than
    no unapi-support at all for NORMARC!
    
    To reproduce:
    - Make sure you have marcflavour = NORMARC
    - Visit /cgi-bin/koha/unapi in a browser
    - Observe the empty <formats></formats> element
    
    To test:
    - Apply the patch
    - Visit /cgi-bin/koha/unapi in a browser
    - Observe the the list of formats in the <formats></formats> element
    - Import the provided sample NORMARC record and make a note of its
      biblionumber
    - View the record at /cgi-bin/koha/unapi?id=koha:biblionumber:x&format=y
      where x = the biblionumber of the sample record and y = one of the
      formats marcxml, marcxml-full, mods, mods-full, mods3, mods3-full,
      oai_dc, rdfdc, rss2, rss2-full and srw_dc
    - Check that the transformed records make some kind of superficial
      sense
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list