Koha/tools
Robin Sheat 750a9ec97c 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@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Tested with a 55M file, I reproduced the error and I confirm this patch
fixes it.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-05-25 23:51:12 +00:00
..
csv-profiles
quotes Bug 9048 - fix quote editor under Plack 2014-05-08 16:15:27 +00:00
ajax-inventory.pl Bug 7684: QA Followup and bugfixes 2013-11-01 00:11:45 +00:00
background-job-progress.pl
batch_records_ajax.pl Bug 10558 [QA Follow-up] 2014-03-10 15:48:32 +00:00
batchMod.pl Bug 11493: Revert "Bug 6869 Batch item modification fails whit accented characters" 2014-03-12 17:31:28 +00:00
cleanborrowers.pl Bug 11975: (follow-up) simplify construction of params for GetBorrowersToExpunge() 2014-05-09 14:32:30 +00:00
copy-holidays.pl
csv-profiles.pl Bug 10853 - followup to correct tabs 2013-10-11 02:16:17 +00:00
exceptionHolidays.pl Bug 7351 : feature that allows to delete a range of dates 2012-09-28 12:19:45 +02:00
export.pl Bug 12238: (follow-up) tweak descriptions of the ID list 2014-05-23 15:53:21 +00:00
holidays.pl Bug 10277 - Add C4::Context->IsSuperLibrarian() 2013-12-30 15:47:23 +00:00
import_borrowers.pl Bug 11287: make patron import tool take new restrictions system into account 2014-05-05 22:37:12 +00:00
inventory.pl Bug 12115: follow-up fix for tools/inventory's output_pref issues 2014-04-28 16:33:17 +00:00
koha-news.pl Bug 7567: QA followup: remove useless $parameters hashref 2014-04-07 18:14:20 +00:00
letter.pl Bug 9016: (QA Follow-up) Remove warning from content.length test 2014-05-02 20:29:18 +00:00
manage-marc-import.pl Bug 10558 [QA Follow-up] 2014-03-10 15:48:32 +00:00
marc_modification_templates.pl Bug 8015: QA Followup 2 2013-10-31 22:50:48 +00:00
modborrowers.pl Bug 2720 - Overdues which debar automatically should undebar automatically when returned 2013-10-31 01:53:22 +00:00
newHolidays.pl Bug 8842 fix Plack scoping for holidays 2012-11-05 08:41:17 -05:00
overduerules.pl Bug 9016: Define different transport types for overdues 2014-05-02 20:29:16 +00:00
picture-upload.pl Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
quotes-upload.pl Bug 7977: QOTD uploader to enable uploading csv files containing quotes 2012-05-24 14:14:09 +02:00
quotes.pl Bug 7977: Quote-of-the-day (QOTD) Feature for OPAC 2012-05-24 14:14:05 +02:00
scheduler.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
stage-marc-import.pl Bug 8970 - fix MARC import under plack 2014-05-25 23:51:12 +00:00
tools-home.pl
upload-cover-image.pl Bug 11473 - add 'biblio' and 'item' to cataloguing logging info 2014-01-17 05:42:44 +00:00
upload-file-progress.pl
upload-file.pl
viewlog.pl Bug 11477 - Add names for librarian and borrowers in the logs 2014-01-17 06:06:53 +00:00