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

            Bug ID: 40910
           Summary: Log pollution for undefined/empty barcodes
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: SIP2
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Noticed in production, when `C4::SIP::ILS::Item->new` is passed an `$item_id`
that is not defined or empty -or barcodedecode makes it like that- (e.g. faulty
plugins) logs get flooded with DBIx::Class errors when it should never reach
the ORM with a query because there's nothing to search for.

If `barcodedecode` empties the barcode, a debug log should be printed because
it might be a sign of a misconfiguration or faulty plugin.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to