To recreate warns, go to any patron page and click More --> Export today's checked in barcodes readingrec.pl: Use of uninitialized value $borrowercardnumber in concatenation (.) or string at /home/vagrant/kohaclone/members/readingrec.pl line 88 readingrec.pl: Use of uninitialized value $borrowercardnumber in concatenation (.) or string at /home/vagrant/kohaclone/members/readingrec.pl line 88
Created attachment 40746 [details] [review] Bug 14482: Silences warns triggered when exporting patron's checked in barcodes Use of uninitialized value $borrowercardnumber To test: 1) Go to any patron page (ie http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=1369), click 'More' then 'Export today's checked in barcodes' 2) Notice warns in error log 3) Click cancel on the pop-up 4) Apply patch, reload page, click 'More' then 'Export today's checked in barcodes' again 5) Notice warns are gone and page still works correctly
I don't the patch for SIPConfig.xml. So probabli there is ame problem with code
(In reply to Zeno Tajoli from comment #2) > I don't the patch for SIPConfig.xml. > So probabli there is ame problem with code Wring comment
Can't reproduce
Reproduced: readingrec.pl: Use of uninitialized value in pattern match (m//) at /usr/share/kohaclone/members/readingrec.pl line 80., referer: http://10.0.0.31:8080/cgi-bin/koha/members/moremember.pl?borrowernumber=1
Sorry, warning from comment #5 is on line 80 and it is not the same.
(In reply to Marc Véron from comment #6) > Sorry, warning from comment #5 is on line 80 and it is not the same. Update: Warning from comment #5 occurs if patron's privacy rules for the reading history are set to "Never".
Can't see these warns anymore so they must've been fixed!