https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25086

            Bug ID: 25086
           Summary: OPAC Self Registration - Field 'changed_fields'
                    doesn't have a default value
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P5 - low
         Component: OPAC
          Assignee: agustinmoy...@theke.io
          Reporter: agustinmoy...@theke.io
        QA Contact: testo...@bugs.koha-community.org
                CC: jonathan.dru...@bugs.koha-community.org,
                    tomasco...@gmail.com
        Depends on: 23579

In OPAC's self registration, if PatronSelfRegistrationVerifyByEmail is set to
Require, OPAC dies with the following error

DBD::mysql::st execute failed: Field 'changed_fields' doesn't have a default
value [for Statement "INSERT INTO `borrower_modifications` ( `branchcode`,
`categorycode`, `date_renewed`, `dateenrolled`, `dateexpiry`, `dateofbirth`,
`debarred`, `email`, `firstname`, `gdpr_proc_consent`, `password`, `surname`,
`timestamp`, `verification_token`) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
current_timestamp, ? )" with ParamValues: 0="CPL", 1="S", 2=undef, 3=undef,
4=undef, 5=undef, 6=undef, 7="prue...@algo.com", 8="algo", 9=undef,
10='E<rcyc6h<p', 11="prueba2", 12='aa165f462c22f414a2cd1081bace0921'] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1836.

Seems it's because changed_fields doesn't have a default value, and cannot be
null.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23579
[Bug 23579] error during web install: 'changed_fields' can't have a default
value
-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to