[Koha-bugs] [Bug 31873] New: Can't call method "safe_delete" on an undefined value at cataloguing/additem.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 19 15:37:07 CEST 2022


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

            Bug ID: 31873
           Summary: Can't call method "safe_delete" on an undefined value
                    at cataloguing/additem.pl
 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

Line 379 in 21.11.
Line 415 in master now.

    my $item = Koha::Items->find($itemnumber);
    my $error = $item->safe_delete;

No check whatsoever.

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