https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44349 Bug ID: 44349 Summary: Mark patron self-renewal availability read-only in the REST API Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: REST API Assignee: nugged@gmail.com Reporter: nugged@gmail.com QA Contact: tomascohen@gmail.com CC: tomascohen@gmail.com Depends on: 26355 Target Milestone: --- Bug 26355 added self_renewal_available as a computed property in patron responses. The shared patron schema accepts it in create and update requests. Including it in an otherwise valid request can produce HTTP 500 because the property has no backing column. Mark the property read-only in the patron schema, as with expired and restricted. POST and PUT should return HTTP 400 identifying the read-only field, with no patron record created or changed. Patron responses should continue to include the computed value. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26355 [Bug 26355] Allow patron account renewals through the OPAC -- You are receiving this mail because: You are watching all bug changes.