[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
Thu Jun 23 16:07:58 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16644
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #52258|0 |1
is obsolete| |
--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 52725
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52725&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>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
I tested on Jessie and I see no regressions.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list