[Koha-bugs] [Bug 31908] New: Context accessed but not always set on mainpage.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 21 14:54:28 CEST 2022


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

            Bug ID: 31908
           Summary: Context accessed but not always set on mainpage.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Authentication
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: dpavlin at rot13.org

To recreate:
1 - Sign in to staff interface as a user without 'catalogue' permission
2 - Get a message that you don't have access
3 - From that page, sign in as an authorised user
4 - Error:
Can't use an undefined value as a HASH reference at
/kohadevbox/koha/mainpage.pl line 88

I have also seen this error in production when using SSO and signing out of the
staff client

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


More information about the Koha-bugs mailing list