[Koha-bugs] [Bug 30074] Missing extended_attributes relationship in DBIC schema
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 10 15:29:29 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30074
--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 130448
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130448&action=edit
Bug 30074: Add missing extended_attributes rs in DBIC schema
REST API route /patrons has extended_attributes available (x-koha-embed) but
it's actually not working.
GET /api/v1/patrons: unhandled exception
(Koha::Exceptions::BadParameter)<<Cannot find Koha::Object class for
extended_attributes>> Koha::REST::Plugin::Exceptions::__ANON__ /kohadevbo
x/koha/Koha/REST/Plugin/Exceptions.pm (73)
It's missing the relationship named "extended_attributes".
Test plan:
Create a new patron attribute CODE and a value for a patron
Hit /api/v1/patrons?q={"extended_attributes.type":"CODE"}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list