[Koha-bugs] [Bug 13028] Remove uninitialized value warning and add partial flag to cmp_sysprefs script
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 23 23:56:30 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13028
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #32641|0 |1
is obsolete| |
Attachment #32643|0 |1
is obsolete| |
--- Comment #6 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 32645
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32645&action=edit
[PASSED QA] 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 at bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list