https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24474
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |ommunity.org --- Comment #7 from Jonathan Druart <[email protected]> --- I gave a try to this, wrote the test then try to fix it. But my understanding of the code leads me to abandon. I do not understand why there are 3 calls to ReturnLostItem: Koha/Account.pm: C4::Circulation::ReturnLostItem( $self->{patron_id}, $fine->itemnumber ) unless $checkout; Koha/Account.pm: C4::Circulation::ReturnLostItem( $self->{patron_id}, $fine->itemnumber ) unless $checkout; Koha/Account/Line.pm: C4::Circulation::ReturnLostItem( $self->borrowernumber, $debit->itemnumber ); That seems wrong to me. So I guess my test will not cover all the cases. Hope it could help as a start anyway. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ 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/
