[Koha-bugs] [Bug 28367] 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:43:48 CEST 2021


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 121094
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121094&action=edit
Bug 28367: Fix plack condition in C4/Auth_with_shibboleth.pm

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