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

Chris Cormack <ch...@bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32005|0                           |1
        is obsolete|                            |

--- Comment #3 from Chris Cormack <ch...@bigballofwax.co.nz> ---
Created attachment 32641
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32641&action=edit
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>

-- 
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