Bug 20508 - Validation for *MandatoryField and *UnwantedField sysprefs
Summary: Validation for *MandatoryField and *UnwantedField sysprefs
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-02 15:16 UTC by Barton Chittenden
Modified: 2022-05-27 14:23 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barton Chittenden 2018-04-02 15:16:55 UTC
When any the system preferences

    BorrowerMandatoryField
    BorrowerUnwantedField
    PatronSelfModificationBorrowerUnwantedField
    PatronSelfRegistrationBorrowerMandatoryField
    PatronSelfRegistrationBorrowerUnwantedField

are being populated, we should check that

a) The entered fields are columns in the borrowers table
b) Mandatory / Unwanted fields that refer to the same form (BorrowerMandatoryField/BorrowerUnwantedField and PatronSelfRegistrationBorrowerMandatoryField/PatronSelfRegistrationBorrowerUnwantedField) do not contain the same fields.
c) If autoMemberNum is set, don't allow cardnumber in *MandatoryField

See also:

* Bug 17433
* Bug 19642
* Bug 19225
Comment 1 Brian 2018-11-01 20:20:52 UTC
Any updates on bug 20508?

Carnegie Stout Team