[Bug 34000] Don't allow auto-generated cardnumbers to be re-used, it may give access of services to the next patron created
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34000 --- Comment #92 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- (In reply to Caroline Cyr La Rose from comment #91)
(In reply to Katrin Fischer from comment #84)
Just noting this creates an issue for libraries that expect numbers of a certain length and form to be generated. If there has ever been a deleted borrower with a long number, for example for testing, it will now be used as the base for creating new numbers with no way for the library to fix these.
I think something like adding a pre-fix might have been less disruptive.
Just had this exact problem in a library where a test patron with the number 9999999999999999 had been created in 2022. After the upgrade all the new patrons had 10000000000000000 and up, even though the behaviour before upgrade was to continue the normal sequence
Forgot to specify that the test patron had been *deleted* in 2022. It had actually been created in 2021. Koha seems to allow entries with the same cardnumber in deletedborrowers so I don't exactly understand why this constraint was added to the dbupdate. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org