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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
            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.
_______________________________________________
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/

Reply via email to