[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.01-82-g71b9096

Git repo owner gitmaster at git.koha-community.org
Fri Jan 3 09:47:43 CET 2014


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, 3.14.x has been updated
       via  71b9096034cbc68e28d2db7c389ae341bd96e323 (commit)
      from  25cbbcff34ae049137ed7a302ebf7b76cd0cf8ab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 71b9096034cbc68e28d2db7c389ae341bd96e323
Author: Magnus Enger <magnus at enger.priv.no>
Date:   Mon Oct 7 15:14:08 2013 +0200

    Bug 11004: Make xmlControlfield.js use the marcflavour syspref to look for XML files
    
    Currently, xmlControlfield.js is hard coded to look for XML files for
    MARC21:
    
      url: this.themelang + "/data/marc21_field_" + this.tagfield + ".xml",
    
    This patch makes this code use the value from the marcflavour syspref,
    as a preparation for making the NORMARC value builders use the XML
    technique employed by the MARC21 value builders for 006 and 008.
    
    To test:
    - Make sure you have a MARC21 installation
    - Set marcflavour = NORMARC
    - Go to Cataloguing and start a new record with the default framework
    - Open the value builders for 006 and 008 and observe that they still work, showing
      the coded values for MARC21
    - Apply this patch
    - Check the value builders for 006 and 008 and observe that you get a truncated view
      with an empty "Select a type of material" dropdown
    - Use e.g. the Net console in Firebug to observe requests to
      http://localhost/intranet-tmpl/prog/en/data/normarc_field_008.xml
      that result in a 404 status
    - Set marcflavour = MARC21
    - Observe that the value builders for 006 and 008 are now fully working
    - 006 and 008 should be the only value builders affected by this change, since
      they are the only ones using xmlControlfield.js, but please also verify that
      other value builders are still working as expected
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    (cherry picked from commit 3ec4a02418a9c3372c590b8eb614e8c6466ff45e)
    Signed-off-by: Fridolin SOMERS <fridolin.somers at biblibre.com>

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

Summary of changes:
 koha-tmpl/intranet-tmpl/prog/en/js/xmlControlfield.js             |    5 +++--
 .../prog/en/modules/cataloguing/value_builder/marc21_field_006.tt |    2 +-
 .../prog/en/modules/cataloguing/value_builder/marc21_field_008.tt |    2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list