[Koha-bugs] [Bug 28930] Cardnumber is lost if an invalid self registration form is submited to the server, and the server side form validation fails.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Oct 3 11:48:01 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28930
Joonas Kylmälä <joonas.kylmala at iki.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #124320|0 |1
is obsolete| |
--- Comment #3 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 125665
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125665&action=edit
Bug 28930: Keep cardnumber be editable after server side form validation fails
during self registration.
Test plan:
- Enable the system preference PatronSelfRegistration
- Make sure PatronSelfRegistrationBorrowerUnwantedField does not
contain cardnumber.
- Set the system preference GDPR_Policy to "Enforce".
- In the OPAC click "Log in to your account" and "Register here".
- Fill out the form with valid data, but make sure you leave the
checkbox under "GDPR consent" unchecked.
- Submit the form
- You will get back the form with the error message "You have not filled
out all required fields. Please fill in all missing fields and
resubmit."
- Without patch: cardnumber is not editable, and there is no input
element for borrower_cardnumber (so the cardnumber will be lost when
resubmitting the form)
- With patch: cardnumber is editable.
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at iki.fi>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list