[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
Sat Jun 11 16:19:50 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16644
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #51979|0 |1
is obsolete| |
--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 52258
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52258&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.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list