[Koha-bugs] [Bug 34786] New: after_biblio_action hooks: find after delete makes no sense

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 14 11:02:57 CEST 2023


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

            Bug ID: 34786
           Summary: after_biblio_action hooks: find after delete makes no
                    sense
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          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

$error = _koha_delete_biblio( $dbh, $biblionumber );
    _after_biblio_action_hooks({ action => 'delete', biblio_id => $biblionumber
});

AND 

    my $biblio_id = $args->{biblio_id};
    my $action    = $args->{action};
    my $biblio = Koha::Biblios->find( $biblio_id );

Makes no sense.

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