[Koha-bugs] [Bug 36317] Koha::Biblio->host_items fails with search_ordered()

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 18 15:27:14 CET 2024


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

--- Comment #8 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Fridolin Somers from comment #6)
> Created attachment 163334 [details] [review]
> Bug 36317: Add unit test
> 
> If fails it shows :
> DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
> execute failed: Column 'itemnumber' in where clause is ambiguous at
> /kohadevbox/koha/Koha/Objects.pm line 399

Combining Koha::Biblio->host_items with Koha::Items->search_ordered in test
suite was too hard.
I've done a simpler join on an item transfer which fails on current master.

Note that I test with MariaDB 10.6. Looks like it is more severe on join than
lower versions.

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


More information about the Koha-bugs mailing list