Bugzilla – Attachment 193863 Details for
Bug 41884
Job report for batch item modifications that fail due to PreventWithdrawingItemsStatus has no details on failed items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41884: Adjust tests
Bug-41884-Adjust-tests.patch (text/plain), 1.70 KB, created by
Lucas Gass (lukeg)
on 2026-02-25 15:24:07 UTC
(
hide
)
Description:
Bug 41884: Adjust tests
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-02-25 15:24:07 UTC
Size:
1.70 KB
patch
obsolete
>From 4cfe32e736442f34efb92431465d263e5b014e83 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 25 Feb 2026 15:19:26 +0000 >Subject: [PATCH] Bug 41884: Adjust tests > >--- > t/db_dependent/Koha/Items/BatchUpdate.t | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Koha/Items/BatchUpdate.t b/t/db_dependent/Koha/Items/BatchUpdate.t >index 44624292859..38f7898bee2 100755 >--- a/t/db_dependent/Koha/Items/BatchUpdate.t >+++ b/t/db_dependent/Koha/Items/BatchUpdate.t >@@ -372,7 +372,12 @@ subtest 'report' => sub { > modified_itemnumbers => [ $item_1->itemnumber ], > modified_fields => 1, > errors => [ >- { error => "Exception 'Koha::Exceptions::Item::Transfer::OnLoan' thrown 'onloan_cannot_withdraw'\n" } >+ { >+ biblionumber => $item_2->biblionumber, >+ itemnumber => $item_2->itemnumber, >+ barcode => $item_2->barcode, >+ error => "onloan_cannot_withdraw" >+ } > ] > } > ); >@@ -402,8 +407,10 @@ subtest 'report' => sub { > modified_fields => 1, > errors => [ > { >- error => >- "Exception 'Koha::Exceptions::Item::Transfer::InTransit' thrown 'intransit_cannot_withdraw'\n" >+ biblionumber => $item_3->biblionumber, >+ itemnumber => $item_3->itemnumber, >+ barcode => $item_3->barcode, >+ error => "intransit_cannot_withdraw" > } > ] > } >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41884
:
193367
|
193596
|
193860
|
193861
|
193862
| 193863