[Koha-bugs] [Bug 34360] New: [WARN] DBIx::Class::ResultSetColumn::new(): Attempting to retrieve non-unique column 'biblionumber' on a resultset containing one-to-many joins will return duplicate results
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 24 16:41:38 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34360
Bug ID: 34360
Summary: [WARN] DBIx::Class::ResultSetColumn::new(): Attempting
to retrieve non-unique column 'biblionumber' on a
resultset containing one-to-many joins will return
duplicate results
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: m.de.rooy at rijksmuseum.nl
QA Contact: testopia at bugs.koha-community.org
Seeing this warn on current master:
[2023/07/24 13:37:03] [WARN] DBIx::Class::ResultSetColumn::new(): Attempting to
retrieve non-unique column 'biblionumber' on a resultset containing one-to-many
joins will return duplicate results. at /usr/share/koha/Koha/Objects.pm line
421
Refers to sub get_column {
my ($self, $column_name) = @_;
=> return $self->_resultset->get_column( $column_name )->all;
}
get_column is called in the accessors of Koha/Object AUTOLOAD.
This warn must have been triggered already by doing a catalogue search in staff
from the main page.
Some join or prefetch on staff detail ?
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list