[Koha-bugs] [Bug 22739] New: Self check in module JS breaks if SelfCheckInTimeout is unset

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 18 19:56:38 CEST 2019


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

            Bug ID: 22739
           Summary: Self check in module JS breaks if  SelfCheckInTimeout
                    is unset
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Self checkout
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

The code in sci-main.pl tries to set this, but fails:

# Make sure timeout has a reasonable value
my $timeout = C4::Context->preference('SelfCheckInTimeout') // 120;
$template->param( refresh_timeout => $timeout );


To recreate:
1 - Blank the syspref SelfCheckInTimeout
2 - Attempt to checkin something via sci
3 - Error: Your request included no check-ins.

Additionally, it would be nice to be able to return to the main interface if
this error is received

-- 
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