| Summary: | Patron self registration: Extended patron attributes are emptied on submit when mandatory field isn't filled in | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
| Component: | OPAC | Assignee: | Pedro Amorim <pedro.amorim> |
| Status: | RESOLVED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | minor | ||
| Priority: | P5 - low | CC: | david, fridolin.somers, lucas, pedro.amorim, wainuiwitikapark |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30120 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: |
This fixes the patron self registration form when extended patron attributes are used. If a mandatory field wasn't filled in when submitting, the values entered into any extended patron attributes were lost and needed re-entering.
|
Version(s) released in: |
24.11.00,24.05.02,23.11.07
|
| Circulation function: | |||
| Attachments: |
Bug 30372: Fix value->attribute
Bug 30372: Fix value->attribute Bug 30372: Fix value->attribute |
||
|
Description
Katrin Fischer
2022-03-27 13:06:37 UTC
Created attachment 167170 [details] [review] Bug 30372: Fix value->attribute Test plan: - Activate patron self registration without email verification - Create several patron attributes as visible and editable in the OPAC, make one mandatory - Register as a new patron from the OPAC - Fill in all required fields but the extended attribute - Fill in at least one of the non-required extended attributes - Submit - Verify that the contents of the other extended attribute fields are still present. Created attachment 167177 [details] [review] Bug 30372: Fix value->attribute Test plan: - Activate patron self registration without email verification - Create several patron attributes as visible and editable in the OPAC, make one mandatory - Register as a new patron from the OPAC - Fill in all required fields but the extended attribute - Fill in at least one of the non-required extended attributes - Submit - Verify that the contents of the other extended attribute fields are still present. Signed-off-by: David Nind <david@davidnind.com> Created attachment 168112 [details] [review] Bug 30372: Fix value->attribute Test plan: - Activate patron self registration without email verification - Create several patron attributes as visible and editable in the OPAC, make one mandatory - Register as a new patron from the OPAC - Fill in all required fields but the extended attribute - Fill in at least one of the non-required extended attributes - Submit - Verify that the contents of the other extended attribute fields are still present. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Pushed for 24.11! Well done everyone, thank you! Backported to 24.05.x for upcoming 24.05.02 Pushed to 23.11.x for 23.11.07 Not backporting to 23.05.x unless requested Not backporting to 22.11 |