From d14ae3bc8ac2687bb14ef9e9f6af99684ceaf7fd 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 Resolve DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'verification_token' on BorrowerModification Test plan: Update details for existing borrower. Signed-off-by: Paul Derscheid Signed-off-by: Emily Lamancusa --- opac/opac-memberentry.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index a28420bbb95..f0919f3356d 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_changes{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.34.1