[Koha-bugs] [Bug 32417] New: Cannot insert order: Mandatory parameter biblionumber is missing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 7 14:26:19 CET 2022


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

            Bug ID: 32417
           Summary: Cannot insert order: Mandatory parameter biblionumber
                    is missing
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

Revisiting this part of the code. We still have a problem there.

When we cancel an order with deleting the biblio, the constraint on
aqorders.biblionumber clears biblionumber in the table while the Koha object
still contains the biblionumber. After we called DelBiblio in sub cancel, we
should discard changes or clear the biblionumber.

This makes the bug in sub store more visible: It should allow a NULL in
biblionumber when we are storing a cancellation! So croak only on that
condition.

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