http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13028

Katrin Fischer <katrin.fisc...@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.fisc...@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 <ch...@bigballofwax.co.nz>

Signed-off-by: Katrin Fischer <katrin.fischer...@web.de>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to