[Koha-bugs] [Bug 22350] New: SIP/Transaction.t fails when SearchEngine set to ElasticSearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 15 15:55:01 CET 2019


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

            Bug ID: 22350
           Summary: SIP/Transaction.t fails when SearchEngine set to
                    ElasticSearch
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
  Target Milestone: ---

Not sure if this points to bigger issues, but recording to investigate

root at 8a93f9b965df:koha(master)$ prove -v t/db_dependent/SIP/Transaction.t
t/db_dependent/SIP/Transaction.t .. 
1..4
ok 1 - New transaction created
ok 2 - Patron assigned to transaction
ok 3 - RenewAll on zero items
# Subtest: fill_holds_at_checkout
    1..5
    ok 1 - Bib has 2 holds
    ok 2 - New transaction created
    ok 3 - Patron assigned to transaction
    ok 4 - Item assigned to transaction
    # Looks like you planned 5 tests but ran 4.
not ok 4 - fill_holds_at_checkout

#   Failed test 'fill_holds_at_checkout'
#   at t/db_dependent/SIP/Transaction.t line 93.
Can't call method "leader" on an undefined value at
/kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 419.
# Looks like your test exited with 11 just after 4.

-- 
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