To reproduce, just go to circ/circulation.pl: Can't call method "guarantor" on an undefined value at /home/koha/src/circ/circulation.pl line 588. at /home/koha/src/circ/circulation.pl line 673 Introduced by bug 15656
Created attachment 49147 [details] [review] Bug 16073: Fix software error in circulation.pl Can't call method "guarantor" on an undefined value at /home/koha/src/circ/circulation.pl line 588. at /home/koha/src/circ/circulation.pl line 673 Introduced by bug 15656 Test plan: Just trigger circ/circulation.pl
Created attachment 49163 [details] [review] Bug 16073: Fix software error in circulation.pl Can't call method "guarantor" on an undefined value at /home/koha/src/circ/circulation.pl line 588. at /home/koha/src/circ/circulation.pl line 673 Introduced by bug 15656 Test plan: Just trigger circ/circulation.pl Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl> Triggered circ/circulation.pl - nothing exploded, and error is gone
Created attachment 49203 [details] [review] Bug 16073: (follow-up) Fix software error in circulation.pl Do not crash if the patron does not exist. Test plan: Access circ/circulation.pl?borrowernumber=42424242 you should get an error without this patch With this patch, you will get an empty patron detail page (should be fixed in another patch, but this behavior exists for a while)
Created attachment 49273 [details] [review] Bug 16073: Fix software error in circulation.pl Can't call method "guarantor" on an undefined value at /home/koha/src/circ/circulation.pl line 588. at /home/koha/src/circ/circulation.pl line 673 Introduced by bug 15656 Test plan: Just trigger circ/circulation.pl Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl> Triggered circ/circulation.pl - nothing exploded, and error is gone Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Created attachment 49274 [details] [review] Bug 16073: (follow-up) Fix software error in circulation.pl Do not crash if the patron does not exist. Test plan: Access circ/circulation.pl?borrowernumber=42424242 you should get an error without this patch With this patch, you will get an empty patron detail page (should be fixed in another patch, but this behavior exists for a while) Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Simple patches that fix the issue. They pass the QA scripts and have really bad commit messages :-P
Pushed to Master - Should be in the May 2016 Release. Thanks!
Does not concern stable versions, status changed to RESOLVED