[Koha-bugs] [Bug 18750] New: t/db_dependent/Circulation/Branch.t fails.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 7 19:33:44 CEST 2017


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

            Bug ID: 18750
           Summary: t/db_dependent/Circulation/Branch.t fails.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: mtompset at hotmail.com
        QA Contact: gmcharlt at gmail.com

prove t/db_dependent/Circulation/Branch.t fails test 12
not ok 12 - AddReturn respects default return policy - return to homebranch

In C4::Circulation, the CanBookBeReturned returns 0 for the wrong branch, but
never tests if it is returnable for the right branch. Adding in logic triggers
the NeedsTransfer else case near the end of the AddReturn function. It is
unclear what else might break as a side-effect of this patch method.

I will put this into Discussion, unless someone else can verify this is the
correct way to fix the problem.

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


More information about the Koha-bugs mailing list