https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42218 --- Comment #12 from Clemens Tubach <clemens.tubach@kit.edu> --- Created attachment 209153 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209153&action=edit Bug 42218: Update test builder to recognise SQL views TestBuilder inserts rows, which is not possible on a view. build() now carps and returns undef when the source is a DBIx::Class::ResultSource::View, and the build_object() sweep over every Koha::Object class skips the classes backed by a view, so Koha::ERM::EUsage::YearlyUsage does not break TestBuilder.t. Assisted-by: Sonnet 5 (Anthropic) Signed-off-by: Clemens Tubach <clemens.tubach@kit.edu> -- You are receiving this mail because: You are watching all bug changes.