From db4f47e421cd701a15be160b77c53b927904461b Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 31 Mar 2025 09:51:19 +0000 Subject: [PATCH] Bug 39226: (follow-up) Similar change for the cud-update branch Content-Type: text/plain; charset=utf-8 Resolve DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'verification_token' on BorrowerModification Test plan: Update details for existing borrower. --- opac/opac-memberentry.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index a28420bbb9..299cd3cd6d 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -349,6 +349,7 @@ if ( $op eq 'cud-create' ) { Koha::Patron::Modifications->search( { borrowernumber => $borrowernumber } )->delete; + $borrower->{verification_token} = q{}; # prevent warn Missing value for PK column my $m = Koha::Patron::Modification->new( \%borrower_changes )->store(); #Automatically approve patron profile changes if set in syspref -- 2.39.5