https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35964
Bug ID: 35964
Summary: User cannot update their account if a column in
PatronSelfModificationMandatoryField is also in
PatronSelfRegistrationBorrowerUnwantedField
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
subroutine ParseCgiForBorrower is used in both self-reg and
self-modification,however,it always removes the unwanted fields in
PatronSelfRegistrationBorrowerUnwantedField
564 delete $borrower{$_} for split( /\s*\|\s*/,
C4::Context->preference('PatronSelfRegistrationBorrowerUnwantedField') || q{}
);
To recreate:
1 - Add 'fax' to PatronSelfRegistrationBorrowerUnwantedField
2 - Add 'fax' to PatronSelfModificationMandatoryField
3 - Self register on the OPAC, note there is no 'fax' field
4 - Sign in as the new borrower
5 - Attempt to edit, note 'fax' is required, fill it
6 - Save the form - 'you are missing a required field'
7 - Remove 'fax' from PatronSelfRegistrationBorrowerUnwantedField
8 - Save the form again, now it works
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/