[Koha-bugs] [Bug 11913] Attributes generate error log during member entry

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 10 04:37:30 CET 2014


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

--- Comment #1 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 25970
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25970&action=edit
Bug 11913 - Attributes generate error log during member entry

In member/memberentry.pl, there were two lines like:
    my $newentry = { map { $_ => $entry->{$_} } %$entry };
These were in the 'sub patron_attributes_form'.

They have been changed to:
    my $newentry = { %$entry };
Of course, indentation does not reflect actual indentation.

They were discovered while testing another bug, which required
editing a member record.

TEST PLAN
---------
1) Make sure you have the SHOW_BCODE attribute.
2) Go edit a member.
3) Clear the SHOW_BCODE value.
4) Save.
5) Edit again.
6) Check the error log file.
7) apply patch.
8) Change the value for SHOW_BCODE (Yes/No)
9) Save.
10) Edit again. (tests change 1)
11) Clear the SHOW_BCODE
12) Save.
13) Edit again. (tests change 2)
14) Check the error log file.

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


More information about the Koha-bugs mailing list