https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38737
Bug ID: 38737
Summary: Batch item deletion w/delete record broken
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Cataloging
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
To reproduce in koha-testing-docker (I started it wirh "ktd --es7 up"):
- Find a record with at least one item
- Click on "Select all" for the items
- Click on "Delete selected items"
- Click the checkbox for "Delete records if no items remain."
- Click on "Delete selected items"
- Click on "View detail of the enqueued job"
- The job failed
Logs:
==> /var/log/koha/kohadev/worker-output.log <==
{UNKNOWN}: An Elasticsearch error occurred during bulk delete at
/kohadevbox/koha/Koha/BackgroundJob/BatchDeleteItem.pm line 153. at
/kohadevbox/koha/Koha/BackgroundJob/BatchDeleteItem.pm line 177
[2024/12/18 08:55:39] [WARN] Uncaught exception processing job id=9:
encountered object '{UNKNOWN}: An Elasticsearch error occurred during bulk
delete at /kohadevbox/koha/Koha/BackgroundJob/BatchDeleteItem.pm line 153. at
/kohadevbox/koha/Koha/BackgroundJob/BatchDeleteItem.pm line 177
', but neither allow_blessed, convert_blessed nor allow_tags settings are
enabled (or TO_JSON/FREEZE method missing) at
/kohadevbox/koha/Koha/BackgroundJob.pm line 270.
main::catch {...} /kohadevbox/koha/misc/workers/background_jobs_worker.pl
(206)
The job in the database:
MariaDB [koha_kohadev]> select * from background_jobs where id = 9\G
*************************** 1. row ***************************
id: 9
status: failed
progress: 0
size: 4
borrowernumber: 51
type: batch_item_record_deletion
queue: long_tasks
data: {"delete_biblios":"on","record_ids":["27","24","25","26"]}
context:
{"number":"51","register_name":null,"shibboleth":"0","branch":"CPL","cardnumber":"42","flags":"1","desk_name":null,"register_id":null,"emailaddress":null,"interface":"intranet","desk_id":null,"surname":"koha","id":"koha","firstname":null,"branchname":"Centerville"}
enqueued_on: 2024-12-18 08:55:39
started_on: 2024-12-18 08:55:39
ended_on: NULL
1 row in set (0.000 sec)
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/