[Koha-bugs] [Bug 27669] New: reverting and importing status never set when importing/reverting a batch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 10 11:30:34 CET 2021


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

            Bug ID: 27669
           Summary: reverting and importing status never set when
                    importing/reverting a batch
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

SetImportBatchStatus is not called with $batch_id

It has been caught by bug 25026, and www/search_utf8.t fails with
t/db_dependent/www/search_utf8.t .. 14/87 Error POSTing
http://koha:8081/cgi-bin/koha/tools/manage-marc-import.pl: Internal Server
Error at t/db_dependent/www/search_utf8.t line 240.

And, from logs:

manage-marc-import.pl: C4::ImportBatch::SetImportBatchStatus(): DBI Exception:
DBD::mysql::st execute failed: Truncated incorrect DOUBLE value: 'importing'
[for Statement "UPDATE import_batches SET import_status = ? WHERE
import_batch_id = ?" with ParamValues: 0=undef, 1='importing'] at
/kohadevbox/koh
a/C4/ImportBatch.pm line 579: /kohadevbox/koha/tools/manage-marc-import.pl,
referer:
http://koha:8081/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=2

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


More information about the Koha-bugs mailing list