[Koha-bugs] [Bug 34338] Cardnumbers should be trimmed before insertion
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 27 14:14:08 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34338
--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #3)
> Hum see comment 1. What's the expected behaviour? Should we keep the "if
> blank treat as null" in memberentry.pl for staff, but reject in other places?
No we should reject it too.
But something strange is going on here in the direct context:
my $new_barcode = $newdata{'cardnumber'};
Koha::Plugins->call( 'patron_barcode_transform', \$new_barcode );
$newdata{'cardnumber'} = $new_barcode;
That is interfering with our new logic here.
Does not look good to me.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list