http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10454

            Bug ID: 10454
           Summary: Failure to lock could generate duplicate card numbers
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

In C4::Members.pm there is a function AddMembers_Opac which calls
fixup_cardnumber. The problem is there is no locking to ensure that someone
else doesn't add a member at the same time and create a duplicate card number.

This patch adds the missing locking in. I've left commented wait code in, so
that the person testing this can switch tabs or browsers to test that the
locking doesn't catastrophically break things.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to