Bugzilla – Attachment 92209 Details for
Bug 23428
Self registration with a verification by email is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23428: (bug 23151 follow-up) Fix self registration with a verification email
Bug-23428-bug-23151-follow-up-Fix-self-registratio.patch (text/plain), 1.47 KB, created by
Katrin Fischer
on 2019-08-15 06:02:16 UTC
(
hide
)
Description:
Bug 23428: (bug 23151 follow-up) Fix self registration with a verification email
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-08-15 06:02:16 UTC
Size:
1.47 KB
patch
obsolete
>From 98b344407a3ce4cc299f3b2b1a467fb1f4fd41b0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 5 Aug 2019 08:40:12 -0500 >Subject: [PATCH] Bug 23428: (bug 23151 follow-up) Fix self registration with a > verification email > >DBIx::Class::Row::store_column(): No such column 'changed_fields' on >Koha::Schema::Result::Borrower at /home/vagrant/kohaclone/Koha/Object.pm >line 75 > >Test plan: >- Turn PatronSelfRegistrationVerifyByEmail on >- Register a new account >- Click on the link (see the message_queue table) >=> Without this patch you get the error >=> With this patch you will see the login form > >Signed-off-by: Michal Denar <black23@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > opac/opac-registration-verify.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-registration-verify.pl b/opac/opac-registration-verify.pl >index 91e31c0d8e..d40631f74b 100755 >--- a/opac/opac-registration-verify.pl >+++ b/opac/opac-registration-verify.pl >@@ -64,6 +64,7 @@ if ( > $patron_attrs->{categorycode} ||= C4::Context->preference('PatronSelfRegistrationDefaultCategory'); > delete $patron_attrs->{timestamp}; > delete $patron_attrs->{verification_token}; >+ delete $patron_attrs->{changed_fields}; > my $patron = Koha::Patron->new( $patron_attrs )->store; > > Koha::Patron::Consent->new({ borrowernumber => $patron->borrowernumber, type => 'GDPR_PROCESSING', given_on => $consent_dt })->store if $consent_dt; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23428
:
91995
|
92201
| 92209