Bug 41609 - When registering via the API extended attributes are checked for mandatory but not opac_mandatory
Summary: When registering via the API extended attributes are checked for mandatory bu...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-13 23:15 UTC by Lucas Gass (lukeg)
Modified: 2026-01-13 23:15 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2026-01-13 23:15:53 UTC
To recreate:

1. Make an extended attribute and set it as "Staff interface mandatory:"
2. Using Postman or cURL or whatever you like, make an API request to localhost:8080 AND localhost:8081
3. You'll get a response like "Missing mandatory extended attribute (type=SOMEATTR)"

It would be good if we could pass something to define which interface to mock/follow? 

Or add a api_mandatory option to extended attributes?