Viewing the holds queue triggers the following warns: The method description is not covered by tests at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. Odd number of elements in anonymous hash at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. The method description is not covered by tests at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. Odd number of elements in anonymous hash at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. The method description is not covered by tests at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. Odd number of elements in anonymous hash at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. The method description is not covered by tests at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. Odd number of elements in anonymous hash at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. The method description is not covered by tests at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. Odd number of elements in anonymous hash at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. The method description is not covered by tests at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. Odd number of elements in anonymous hash at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. The method description is not covered by tests at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. Odd number of elements in anonymous hash at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. The method description is not covered by tests at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69. Odd number of elements in anonymous hash at /home/vagrant/kohaclone/circ/view_holdsqueue.pl line 69.
Created attachment 64666 [details] [review] Bug 18859: Prevent warns when viewing holds queue The code was using $itemtypes->description instead of $itemtype->description. To test: 1) View the intranet log 2) Go to Circulation -> Holds queue 3) Notice the warns 4) Apply patch and refresh page 5) Warns should not appear and item types should still display as expected Sponsored-by: Catalyst IT
Created attachment 64725 [details] [review] Bug 18859: Prevent warns when viewing holds queue The code was using $itemtypes->description instead of $itemtype->description. To test: 1) View the intranet log 2) Go to Circulation -> Holds queue 3) Notice the warns 4) Apply patch and refresh page 5) Warns should not appear and item types should still display as expected Sponsored-by: Catalyst IT Signed-off-by: Marc Véron <veron@veron.ch>
Good catch, Aleisha. I am moving the solution to 18881 as Marc expanded it. *** This bug has been marked as a duplicate of bug 18881 ***