[Koha-bugs] [Bug 18636] New: Can not save new patron on fresh install ( Conflict between autoMemberNum and BorrowerMandatoryField)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 19 07:04:49 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18636

            Bug ID: 18636
           Summary: Can not save new patron on fresh install (Conflict
                    between autoMemberNum and BorrowerMandatoryField)
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: veron at veron.ch
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Tested on a fresh install on current master

To reproduce:
- Go to Koha > Patrons > Add patron (full form)
- Verify that label for card number reads: "Card number(leave blank for auto
calc during registration):"
- Do not enter anything in field card number
- Enter surname, try to save
- Form does not save because field card number is required

Reason:
- autoMemberNum is on by default 
 (sysprefs.sql line 65)
- BorrowerMandatoryField contains surname|cardnumber by default
 (sysprefs.sql line 86)
- Full form does not save because card number is mandatory and empty

Note: With quick add form and settings above, cardnumber is not displayed, form
saves properly.

What to do?
- Better explanation for autoMemberNum and BorrowerMandatoryField
- Set defaults for autoMemberNum and BorrowerMandatoryField in a way that they
do not conflict?
- Ignore cardnumber being a mandatory field if autoMemberNum is on?
- Ask for settings in onboarding tool?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list