[Koha-bugs] [Bug 8970] MARC import gives error under Starman/Plack
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 22 13:54:54 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8970
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28413|0 |1
is obsolete| |
--- Comment #26 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 28423
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28423&action=edit
Bug 8970 - fix MARC import under plack
There were database handles being shared between a parent and a child
process, which is a big no-no, and was leading to crazy crashes. Fine
under CGI, but not in a persistent environment. This causes the child to
make a new database handle to use. Also some small cleanups.
To test:
* In a plack environment,
* Tools -> stage MARC records for import
* Use a reasonable size file (but not too big as it all goes into RAM -
I made one about 40MB.)
* Make sure that it works, and that the progress bars progress.
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Tested with a 55M file, I reproduced the error and I confirm this patch
fixes it.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list