[Koha-bugs] [Bug 29202] replacementprice changes should trigger replacementpricedate updates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 11 14:55:24 CEST 2021


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
        my @fields = qw( itemlost withdrawn damaged replacementprice );
        for my $field (@fields) {

[...]
                my $field_on = "${field}_on";
                $self->$field_on(undef);

This will not work for replacementprice ;)
No _on there

Btw I have my doubts here if the code does exactly what we want here. We only
want a updated timestamp if the value actually changes.

Is the finishreceive script the only passing this value?

We need some tests !

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


More information about the Koha-bugs mailing list