[Koha-bugs] [Bug 18387] New: 404 errors on page causes SCO user to be logged out

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 5 14:15:25 CEST 2017


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

            Bug ID: 18387
           Summary: 404 errors on page causes SCO user to be logged out
 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

If AutoSelfCheck is enabled but there is a 404 error in fetching resources on
an SCO page the user is logged out on each request. This is because a 404 also
requests the errorpages.tt which is outside the SCO module.

This causes a redirect to the opac-auth page when trying to print receipts
after completing SCO transaction

To recreate:
1 - Enable AuthoSelfCheck prefs
2 - In opacuserjs or scouserjs add a fetch of an unreachable resources
3 - Visit the SCO
4 - Sign in as a patron then click 'finish'
5 - Say 'yes' to receipt
6 - Note you are directed to log in

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