[Koha-bugs] [Bug 28367] New: Wrong plack condition in C4/Auth_with_shibboleth.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 18 10:42:33 CEST 2021


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

            Bug ID: 28367
           Summary: Wrong plack condition in C4/Auth_with_shibboleth.pm
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

C4/Auth_with_shibboleth.pm has:
  if ( any { /(^psgi\.|^plack\.)/i } keys %ENV )
When others have:
  if ( any { /(^psgi\.|^plack\.)/i } keys %ENV )

This has been highlighted by
https://gitlab.com/koha-community/koha-testing-docker/-/issues/249 that
introduces a PLACK_WORKERS env vars, and t/Auth_with_shibboleth.t was failing
with

 #   Failed test 'checkpw_shib tests'
 #   at t/Auth_with_shibboleth.t line 335.
 Invalid parameter passed, categorycode= does not exist# Looks like your test
exited with 255 just after 5.

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


More information about the Koha-bugs mailing list