[Koha-bugs] [Bug 28158] Lost items not charging when marked lost from batch item modification

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 28 16:50:53 CEST 2021


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

--- Comment #3 from Nick Clemens <nick at bywatersolutions.com> ---
I used Koha::Logger to trace the brackground job execution

The eval around line 306 seems to catch an error from ModItemFromMarc:

[2021/04/28 14:43:28] [WARN]
DBIx::Class::Storage::DBI::mysql::_exec_svp_release(): DBI Exception:
DBD::mysql::db do failed: SAVEPOINT savepoint_0 does not exist [for Statement
"RELEASE SAVEPOINT savepoint_0"] at /kohadevbox/koha/Koha/Object.pm line 169
 main::__ANON__ /kohadevbox/koha/tools/batchMod.pl (328) 

This does not happen if you force the job to the foreground:
1 - Set up your changes
2 - Inspect and edit the form
3 - Delete the hidden param 'runinbrackground'
4 - Force runinbackground to 0 in the form action:
    action="batchMod.pl?runinbrackground=0"

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


More information about the Koha-bugs mailing list