[Koha-bugs] [Bug 23318] New: False error about missing budget on neworderbiblio.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 15 19:11:42 CEST 2019


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

            Bug ID: 23318
           Summary: False error about missing budget on neworderbiblio.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

To recreate:
1 - Have some budgets and funds in your system or create them
2 - Make a new superlibrarian
3 - Go to acquisitions
4 - Find/create a vendor
5 - Create/open a basket
6 - Add items to basket - from an existing biblio - enter a term with results
7 - Scroll to bottom of page - note error about budgets

The current check calls GetBudgetHierarchy with a borrower - this returns only
budgets owned by that user (or with no owner)

On basket.pl we call the check with no borrower, but then check if the user can
use any of the budgets. This is probably the better model

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