[Koha-bugs] [Bug 19276] New: CanBookBeIssued: unsuccessfully refers to borrower category_type X

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 8 11:08:49 CEST 2017


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

            Bug ID: 19276
           Summary: CanBookBeIssued: unsuccessfully refers to borrower
                    category_type X
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

This code seems to be unused now:
    if ( $borrower->{'category_type'} eq 'X' && (  $item->{barcode}  )) {
        # stats only borrower -- add entry to statistics table, and return
issuingimpossible{STATS} = 1  .
        &UpdateStats({
...

Why? The key category_type does not exist. Or perhaps does no longer exist.
Perhaps it has been refactored to a Koha object hash or something ?
The check itself refers to a column in the categories table that formerly got
included in the borrower hash.

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


More information about the Koha-bugs mailing list