[Koha-bugs] [Bug 8437] New: Plack and database backup
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 13 10:17:55 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8437
Priority: P2
Change sponsored?: ---
Bug ID: 8437
Assignee: jcamins at cpbibliography.com
Blocks: 8268
Summary: Plack and database backup
Severity: major
Classification: Unclassified
OS: All
Reporter: paul.poulain at biblibre.com
Hardware: All
Status: ASSIGNED
Version: master
Component: Tools
Product: Koha
I've found a problem with patch of bug 8268, that you can see when you run
plack:
Variable "$backupdir" is not available at
/home/paul/koha.dev/koha-community/tools/export.pl line 334.
=> the backup features won't work under plack (problem of variable scoping with
Plack that put the script in a sub, making main() variable unaccessible in
other subs. Problem solved everywhere with a our instead of my. The best
option, that I would prefer -from far- for this new feature, being that we
don't use such a our variable, but define backupdir where it's needed (+ it's
just reading of a syspref, so not something costly)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list