[Koha-bugs] [Bug 25086] New: OPAC Self Registration - Field 'changed_fields' doesn't have a default value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 8 21:52:14 CEST 2020


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: agustinmoyano at theke.io
          Reporter: agustinmoyano at theke.io
        QA Contact: testopia at bugs.koha-community.org
                CC: jonathan.druart at bugs.koha-community.org,
                    tomascohen at 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="prueba2 at 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.


More information about the Koha-bugs mailing list