guided_reports.pl: Use of uninitialized value $phase in string eq at /home/vagrant/kohaclone/reports/guided_reports.pl line 52 guided_reports.pl: Use of uninitialized value $phase in string eq at /home/vagrant/kohaclone/reports/guided_reports.pl line 52 guided_reports.pl: Use of uninitialized value $phase in string eq at /home/vagrant/kohaclone/reports/guided_reports.pl line 55 To reproduce, go to Tools -> Guided reports wizard
Created attachment 46761 [details] [review] Bug 15416: Warns on guided_reports.pl Initialising $phase variable to be '' if not defined. To test: 1) Go to Reports -> Guided Reports Wizard 2) Notice warns 3) Apply patch 4) Refresh page 5) Confirm warns are gone and page still works as it should
Hi Aleisha I can't reproduce the issue, could you please confirm?
This is still valid for me on version 3.23 of Koha
(In reply to Aleisha Amohia from comment #3) > This is still valid for me on version 3.23 of Koha Pardon me I didn't know that i needed to consult the log files.
Created attachment 47568 [details] [review] [SIGNED-OFF]Bug 15416: Warns on guided_reports.pl Initialising $phase variable to be '' if not defined. To test: 1) Go to Reports -> Guided Reports Wizard 2) Notice warns 3) Apply patch 4) Refresh page 5) Confirm warns are gone and page still works as it should Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> Warns are gone. Page still works as expected
Created attachment 47579 [details] [review] Bug 15416: Warns on guided_reports.pl Initialising $phase variable to be '' if not defined. To test: 1) Go to Reports -> Guided Reports Wizard 2) Notice warns 3) Apply patch 4) Refresh page 5) Confirm warns are gone and page still works as it should Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> Warns are gone. Page still works as expected Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Amended patch: -my $phase = $input->param('phase'); -$phase //= ''; +my $phase = $input->param('phase') // '';
Pushed to Master - Should be in the May 2016 release. Thanks!
Patch pushed to 3.22.x, will be in 3.22.4
This patch has been pushed to 3.20.x, will be in 3.20.9.