https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17257 --- Comment #5 from Srdjan Jankovic <srdjan@catalyst.net.nz> --- (In reply to Jonathan Druart from comment #4)
(In reply to Srdjan Jankovic from comment #3)
I don't have mysql (running mariadb), and wondering how come DBIx::Class did not solve it?
If the key exists, the default value defined at DB level is not used.
Ah I see. Then maybe delete $data{'dateofbirth'} if exists($data{'dateofbirth') && !$data{'dateofbirth'}; would make intention clearer.
I do not understand, we are not using Koha::Patron here.
A couple of lines later: my $patron = Koha::Patron->new( $new_member )->store; Considering the line number mismatch, I'd say base for this patch is lagging a bit. -- You are receiving this mail because: You are watching all bug changes.