[Koha-bugs] [Bug 18501] Automatic refunds need protection from failure

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 21 11:46:39 CEST 2020


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

--- Comment #114 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 108614
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=108614
Bug 18501: Add _set_found_trigger

Review of attachment 108614:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18501&attachment=108614)
-----------------------------------------------------------------

::: Koha/Item.pm
@@ +173,5 @@
> +        if ( exists $updated_columns{itemlost}
> +                and $self->itemlost != $updated_columns{itemlost}
> +                and $updated_columns{itemlost} >= 1 ) {
> +            $self->_set_found_trigger;
> +            $self->paidfor('');

This line causes the ModItemFromMarc test to fail.. I think the failure is a
test issue as opposed to highlighting a problem here... we should switch the
test to check for another unmapped (and untriggered) field.

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


More information about the Koha-bugs mailing list