[Koha-bugs] [Bug 16644] New: 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:39:04 CEST 2016


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

            Bug ID: 16644
           Summary: Plack: Use to_app to remove warning about
                    Plack::App::CGIBin instance
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

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.

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


More information about the Koha-bugs mailing list