[Koha-bugs] [Bug 14367] History for MARC records. Roll back changes on a timeline or per field.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 18 00:09:33 CEST 2021


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

--- Comment #56 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
(In reply to David Nind from comment #55)
> Thanks Aleisha.
> 
> I'm getting an error when clicking save after making a change to a record:
> 
> No property history for Koha::Biblio::Metadata at
> /usr/share/perl5/Exception/Class/Base.pm line 88
> 
>     in Exception::Class::Base::throw at
> /usr/share/perl5/Exception/Class/Base.pm line 88
> 
>        85: 
>        86:     $proto->rethrow if ref $proto;
>        87: 
>        88:     die $proto->new(@_);
>        89: }
>        90: 
>        91: sub rethrow {
> 
>     Show function arguments
>     in Koha::Object::set at /kohadevbox/koha/Koha/Object.pm line 270
> 
>       267:     my @columns = @{$self->_columns()};
>       268: 
>       269:     foreach my $p ( keys %$properties ) {
>       270:         unless ( grep { $_ eq $p } @columns ) {
>       271:             Koha::Exceptions::Object::PropertyNotFound->throw(
> "No property $p for " . ref($self) );
>       272:         }
>       273:     }
> 
>     Show function arguments
>     in Koha::Object::update at /kohadevbox/koha/Koha/Object.pm line 217
> 
>       214: sub update {
>       215:     my ($self, $values) = @_;
>       216:     Koha::Exceptions::Object::NotInStorage->throw unless
> $self->in_storage;
>       217:     $self->set($values)->store();
>       218: }
>       219: 
>       220: =head3 $object->delete();
> 
>     Show function arguments
> 
> ....

Probably just my test plan missing the requirement of updating the schema
files! Can you please test again?

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


More information about the Koha-bugs mailing list