[Koha-bugs] [Bug 29283] Cannot delete basket with cancelled order for deleted biblio
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 8 14:26:49 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29283
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |m.de.rooy at rijksmuseum.nl
--- Comment #10 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Found something similar:
Cannot insert order: Mandatory parameter biblionumber is missing at
/usr/share/koha/acqui/cancelorder.pl line 60.
at /usr/share/perl/5.28/Carp.pm line 289
Carp::croak('Cannot insert order: Mandatory parameter biblionumber is
missing') called at /usr/share/koha/Koha/Acquisition/Order.pm line 79
Koha::Acquisition::Order::store('Koha::Acquisition::Order=HASH(0x55f3760e2860)')
called at /usr/share/koha/Koha/Acquisition/Order.pm line 189
Koha::Acquisition::Order::cancel('Koha::Acquisition::Order=HASH(0x55f3760e2860)',
'HASH(0x55f375a17ec0)') called at /usr/share/koha/acqui/cancelorder.pl line 60
cancelorder L60 (20.11) shows
my $order = Koha::Acquisition::Orders->find($ordernumber);
L60 $order->cancel({ reason => $reason, delete_biblio => $delete_biblio });
I am not sure how to recreate this one actually. I found it in the logs.
The only way I found is opening the basket twice. Delete order in the first
tab, and now delete it in the second. The second tab will crash.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list