[Koha-bugs] [Bug 16644] Plack: Use to_app to remove warning about Plack::App::CGIBin instance

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 3 11:44:30 CEST 2016


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

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 51979
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51979&action=edit
Bug 16644: Plack: Use to_app to remove warning about Plack::App::CGIBin
instance

Using Plack with the debian psgi file, I get lots of warnings like:
WARNING: Automatically converting Plack::App::CGIBin instance to a PSGI code
reference. If you see this warning for each request, you probably need to
explicitly call to_app() i.e. Plack::App::CGIBin->new(...)->to_app in your PSGI
file.

This patch is aimed to eliminate the warns.

Test plan:
Run Plack with plack.psgi or koha.psgi and verify if you do not see these
warnings anymore.

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


More information about the Koha-bugs mailing list