[Koha-bugs] [Bug 35246] New: REST API: api/v1/biblios crashes with accept header application/json

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 3 11:49:29 CET 2023


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

            Bug ID: 35246
           Summary: REST API: api/v1/biblios crashes with accept header
                    application/json
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: REST API
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
                CC: tomascohen at gmail.com

See also bug 33960. Found it testing there.

[2023/11/03 10:33:00] [ERROR] GET /api/v1/biblios: unhandled exception
(Mojo::Exception)<<Can't call method "to_api" on an undefined value at
/usr/share/koha/Koha/Biblio.pm line 1433.>>
=>     my $json_biblioitem = $self->biblioitem->to_api( $args );

Just testing /api/v1/biblios with Accept=application/json.
Note that Accept=application/marc works fine.

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