Bug 10592: fix MARC21 006/008 cataloging plugins
authorGalen Charlton <gmc@esilibrary.com>
Mon, 15 Jul 2013 15:00:57 +0000 (15:00 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 22 Jul 2013 14:00:23 +0000 (14:00 +0000)
commit9eb13aa3cdd47738d42615d6d5dc03b84bf9194c
tree76d27032f884445229659841283e2c00ab29e653
parentb38187d8b004316b17d1e67753d638e96bb62bb8
Bug 10592: fix MARC21 006/008 cataloging plugins

Move the XML and XSD data files so that access to them
(particularly the XML files) is not blocked by the Apache
configuration change introduced by the patch for bug 9812.

To test, after applying the patch.

[1] Open a MARC21 bibliographic record in the cataloging editor.
[2] Click on the plugin link for the 008 field.  Verify that
    that the form for all of the fixed field positions is displayed,
    and verify that you can change the type of material.
[3] Repeat step 2 for the 006 field.
[4] Verify that there are no entries in the Apache error log that contain

client denied by server configuration: {...}/cataloguing/value_builder/marc21_field_008.xml

or

client denied by server configuration: {...}/cataloguing/value_builder/marc21_field_006.xml

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Also verified translation of those plugins still works correctly.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
cataloguing/value_builder/marc21_field_006.pl
cataloguing/value_builder/marc21_field_008.pl
koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_006.xml [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_008.xml [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_CF.xsd [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/js/xmlControlfield.js
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_006.xml [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.xml [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_CF.xsd [deleted file]