[Bug 5603] New: advance_notices.pl generating "uninitialized value in hash element"
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5603 Summary: advance_notices.pl generating "uninitialized value in hash element" Change sponsored?: --- Product: Koha Version: HEAD Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Notices AssignedTo: henridamien@koha-fr.org ReportedBy: ian.walls@bywatersolutions.com QAContact: koha-bugs@lists.koha-community.org Estimated Hours: 0.0 When running advance_notices.pl, numerous lines of the following are generated: Use of uninitialized value in hash element at /home/koha/kohaclone/C4/Members/Messaging.pm line 101. Investigation shows this is due to the SQL in GetMessagingPreferences returning null values for message_transport_type for advanced messaging types NOT utilized by patrons. The solution is to change the LEFT JOIN on line 77 to JOIN; this eliminates the NULL entries. Apparently, the patch for bug 4254 didn't factor in that NULL values would be returned now that the duplicate columns were eliminated. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5603 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent CC| |nengard@gmail.com Patch Status|--- |Signed Off AssignedTo|henridamien@koha-fr.org |ian.walls@bywatersolutions. | |com -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5603 --- Comment #1 from Nicole C. Engard <nengard@gmail.com> 2011-01-11 15:37:03 UTC --- Created attachment 2972 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2972 patch -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5603 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz Patch Status|Signed Off |Patch Pushed --- Comment #2 from Chris Cormack <chris@bigballofwax.co.nz> 2011-01-11 20:00:52 UTC --- Pushed, please test -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5603 --- Comment #3 from MJ Ray (software.coop) <mjr@ttllp.co.uk> 2011-02-06 11:13:57 UTC --- This bug is mentioned in: Bug 5603: advance_notice.pl uninitialized element in hash http://lists.koha-community.org/pipermail/koha-patches/2011-January/013574.h... -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5603 Ian Walls <ian.walls@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Ian Walls <ian.walls@bywatersolutions.com> 2011-03-10 15:08:31 UTC --- Tested, works. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org