[Koha-bugs] [Bug 30051] New: Changing AcqCreateItems value impacts baskets set to follow default behavior

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 8 20:08:02 CET 2022


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

            Bug ID: 30051
           Summary: Changing AcqCreateItems value impacts baskets set to
                    follow default behavior
 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: andrew at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

When creating a basket in acquisitions, we record the user's choice for item
creation in aqbasket.create_items. However, if one sets the basket to follow
the default behavior determined in the AcqCreateItems syspref then we leave
aqbasket.create_items NULL.

This can create issues if the syspref gets changed. For example:
- set AcqCreateItems to "placing an order"
- create a basket, leaving item creation set to the default
- confirm aqbasket.create_items is null
- add an order to your basket from a new bib. confirm your bib and 1 item are
created.
- close your basket
- set AcqCreateItems to "receiving an order"
- receive your order
- confirm receiving the order creates a second item

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