[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 16 13:01:42 CET 2020


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

--- Comment #17 from David Cook <dcook at prosentient.com.au> ---
I am still working on this, but I'm sharing so that people can review, provide
feedback, or whatever.

Test plan:
1. cp debian/templates/plack.psgi /etc/koha/sites/kohadev/plack.psgi
2. koha-plack --restart kohadev
3. Go to http://localhost:8081/cgi-bin/koha/staff/tools/export
(Alternatively, navigate to
http://localhost:8081/cgi-bin/koha/tools/tools-home.pl and click "Export data"
4. Visually compare with http://localhost:8081/cgi-bin/koha/tools/export.pl
(Note that the top nav is slightly different because I am being very
opinionated about how I populate $template variables to reduce future technical
debt.)

Other test plans:
0. First, follow the above test plan
1. koha-run-backups --days 2 --output /var/spool/koha
2. vi /etc/koha/sites/kohadev/koha-conf.xml
3. Enable backup_db_via_tools and backup_conf_via_tools
4. echo 'flush_all' | nc -q 1 memcached 11211
5. koha-plack --restart kohadev
6. Go to http://localhost:8081/cgi-bin/koha/staff/tools/export
7. Click "Export database"
8. Choose a file and click "Download database"
9. Note that it downloads quickly and correctly
(Bonus points if you try downloading a very large database. I have so far only
tried with small databases, but it should work with large ones too.)

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


More information about the Koha-bugs mailing list