https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16008

M. Tompsett <[email protected]> changed:

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

--- Comment #3 from M. Tompsett <[email protected]> ---
Created attachment 48862
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48862&action=edit
Bug 16008: noisy "fatal" warning when new file is moved in another patch

The failure was tracked down to check_forbidden_patterns in
QohA/File.pm's check_forbidden_patterns function.

As there can't be any forbidden patterns on a non-existent file,
this patch returns the default 1 when the file being checked
does not exist. It maintains a warning message as suggested in
comment #2.

It is better to create another check as stated in comment #2,
but I figure I'll share my less than perfect work anyways.

TEST PLAN
---------
apply bug 15870 to your koha
run qa test tools
-- see the warning
apply this patch to your qa test tools
run qa test tools
-- no more warning

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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