https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22690
--- Comment #98 from Martin Renvoize <[email protected]> --- Comment on attachment 113967 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113967 Bug 22690: Refactor merging of records to improve performance (Elasticsearch) Review of attachment 113967: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=22690&attachment=113967) ----------------------------------------------------------------- ::: Koha/Item.pm @@ +1064,5 @@ > +sub item_orders { > + my ( $self ) = @_; > + > + my $orders = $self->_result->item_orders; > + return Koha::Acquisition::Orders->_new_from_dbic($orders); In it's current form, this can result in failure.. I'm not seeing any handling for that... i.e. if an item is deleted it gets moved to deleted_items but the itemnumber remains in the aqorder_items table as there is no foreign key constraint.. have you tested this case? -- 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/
