[Koha-bugs] [Bug 14468] Remove warnings when creating Labels

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 26 20:07:31 CET 2015


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #16 from Marc Véron <veron at veron.ch> ---
Created attachment 44015
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44015&action=edit
Bug 14468: followup to fix tests

This patch fix an expected  test result.
Also changes a comparison for the return value to 'delete'
layout sub, in case of success it returns 'undef' and triggers
the message 'use of uninitialized value $del_results ...'

To test:
1) Whitout this patch

prove t/db_dependent/Labels/t_Layout.t

fails.

Also note the message
"Use of uninitialized value $del_results in string ne at
t/db_dependent/Labels/t_Layout.t line 110."
for using the return value of delete layout (undef on success!)

2) Apply the patch
3) Test pass and no more message

Signed-off-by: Marc Véron <veron at veron.ch>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list