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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Assignee|[email protected] |[email protected]
                   |ity.org                     |

--- Comment #2 from David Nind <[email protected]> ---
Added assignee 8-).

The patch doesn't seem to fix the issue for me - it is still shown as "1
checked out:", and the tests fail.

Testing notes (using KTD):
1. Start up KTD with Elasticsearch: ktd --search-engine es8 up
2. The settings for step 2 are the defaults with KTD:
   - BlockReturnOfWithdrawnItems = is already set to "Block"
   - RecordLocalUseOnReturn = is already set to "Don't record"
3. Records and items used:
   - Before patch: Programming Perl (262), item 578 (barcode 39999000011418)
   - After the patch: Perl Better Practices (191), item 409 (barcode
39999000008036)
   - Step 8: Programming the Perl DBI (13), item 35 (barcode 39999000000559)
4. Step 7: records in results still show as "1 checked out:". 
   After I applied the patch, I also tried:
  - A full reindex: koha-elasticsearch --rebuild -d -b -a kohadev
  - I restarted everything: restart_all
5. The tests fail for me.
6. I didn't try with Zebra.

Test failures:

 prove t/db_dependent/Circulation.t
t/db_dependent/Circulation.t .. 18/79     # Transfer limit: Holding -> Return
    # Transfer limit: Return -> Home
    # Transfer limit: Return -> Holding
t/db_dependent/Circulation.t .. 66/79 
    #   Failed test 'AddReturn reports the Wrongbranch blocker with the item's
homebranch as the right branch'
    #   at t/db_dependent/Circulation.t line 8220.
    #     Structures begin differing at:
    #          $got->[1]{LocalUse} = '1'
    #     $expected->[1]{LocalUse} = Does not exist
    # Looks like you failed 1 test of 1.

#   Failed test 'Tests for Wrongbranch blocker (AllowReturnToBranch)'
#   at t/db_dependent/Circulation.t line 8236.

    #   Failed test 'Item is reported to have been transferred'
    #   at t/db_dependent/Circulation.t line 8258.
    #     Structures begin differing at:
    #          $got->[1]{LocalUse} = '1'
    #     $expected->[1]{LocalUse} = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'Tests for transfer not in transit'
#   at t/db_dependent/Circulation.t line 8274.
t/db_dependent/Circulation.t .. 78/79 # Looks like you failed 2 tests of 79.
t/db_dependent/Circulation.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/79 subtests 

Test Summary Report
-------------------
t/db_dependent/Circulation.t (Wstat: 512 (exited 2) Tests: 79 Failed: 2)
  Failed tests:  68-69
  Non-zero exit status: 2
Files=1, Tests=79, 57 wallclock secs ( 0.12 usr  0.01 sys + 40.38 cusr  8.72
csys = 49.23 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to