[Koha-bugs] [Bug 28479] New: TestBuilder.pm uses incorrect method for checking if objects to be created exists
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 28 12:17:46 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28479
Bug ID: 28479
Summary: TestBuilder.pm uses incorrect method for checking if
objects to be created exists
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: minor
Priority: P5 - low
Component: Test Suite
Assignee: joonas.kylmala at helsinki.fi
Reporter: joonas.kylmala at helsinki.fi
QA Contact: testopia at bugs.koha-community.org
CC: jonathan.druart+koha at gmail.com
Blocks: 22690
While working on bug 22690 it was discovered that TestBuilder.pm uses incorrect
method to check if objects to be built already exists or not. The warning we
got due to this was:
> DBIx::Class::Storage::DBI::select_single(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /kohadevbox/koha/t/lib/TestBuilder.pm line 235
I'm working on a patch for this, I think it helps to explain more the problem –
it was quite tough to debug but I think I got to the bottom of it finally.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22690
[Bug 22690] Merging records with many items too slow (Elasticsearch)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list