Quantcast

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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

bugzilla-daemon
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: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]

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.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://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/
Loading...