[Koha-bugs] [Bug 19048] New: Self checkout: Internal server error in sco-main.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 7 11:40:10 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19048

            Bug ID: 19048
           Summary: Self checkout: Internal server error in sco-main.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: veron at veron.ch
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Internal server error in sco-main.pl:

Can't call method "unblessed" on an undefined value at
(...)/koha/opac/sco/sco-main.pl line 117

To reproduce: Call SCO main page

Line 117 is:
my $borrower = Koha::Patrons->find( { cardnumber => $patronid } )->unblessed;

The error occurs if $patronid does not exist in the database. This is already
the case with the first call of sco-main.pl ($patronid is '').

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list