Koha/misc/maintenance
Marcel de Rooy 98a3aa4d8f Bug 13028: Resolve uninitialized value in string eq at cmp_sysprefs.pl line 194
If you use the restore option with a partial pref file not containing a version, you will have this error. Also the count of updated prefs will be one too high.

This is corrected by a better test of the hash value in the CheckVersionPref subroutine.

Test plan:
[1] Create a small pref file and remove the version pref (if present). You
could for instance do a pref backup and remove most lines.
[2] Use the restore option with and without this patch.
    So, something like:
        maintclone/misc/maintenance/cmp_sysprefs.pl -c r -f 9999crucial.pref
[3] Check on the error message and the pref count.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-30 00:24:00 -03:00
..
borrowers-force-messaging-defaults
check_sysprefs.sh
cmp_sysprefs.pl Bug 13028: Resolve uninitialized value in string eq at cmp_sysprefs.pl line 194 2014-10-30 00:24:00 -03:00
fix_accountlines_date.pl
fix_accountlines_rmdupfines_bug8253.pl Bug 8253 - fix fine doubling, when upgrading from 3.6 to 3.8 - Add de-duplication script 2012-10-28 19:12:30 +01:00
fix_mysql_constraints.pl Bug 8915: Followup FIX QA issues 2012-11-12 10:03:39 -05:00
make_zebra_dom_cfg_from_record_abs
MARC21_utf8_flag_fix.pl
process_record_through_filter.pl Bug 7417: Include see from references in bibliographic searches 2012-09-13 14:19:28 +02:00
remove_items_from_biblioitems.pl
touch_all_biblios.pl
touch_all_items.pl
UNIMARC_fix_collectiontitle.pl
UNIMARC_sync_date_created_with_marc_biblio.pl Bug 9192: let UNIMARC_sync_date_created_with_marc_biblio.pl create fields if needed 2013-10-23 14:20:14 +00:00