[Koha-bugs] [Bug 8437] Large database backups and large exports from export.pl fail under plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 22 08:14:14 CEST 2020


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

--- Comment #41 from David Cook <dcook at prosentient.com.au> ---
I do have another idea... based on what Dobrica said at
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8437#c7

When using Plack, we could re-direct away from export.pl to a URL where we have
mounted a PSGI application (e.g. we could use Mojo::Serve::PSGI like we do with
the REST API).

This would also give us a path forward to transition away from CGI to Plack.

The tools/export.pl file is actually pretty short, and the majority of the
logic is in Perl modules (the "model" in MVC terms). The .pl files are
basically just overloaded controllers (in MVC terms). 

I don't have time today, but maybe I would be willing to work on a solution for
this. We could keep the existing template file (or "view" in MVC terms), and
just provide an alternative controller. 

We could deprecate tools/export.pl and focus in favour on a PSGI controller.

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


More information about the Koha-bugs mailing list