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

            Bug ID: 39226
           Summary: [WARN] DBIx::Class::Storage::DBI::insert(): Missing
                    value for primary key column 'borrowernumber' on
                    BorrowerModification
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

Seeing this one in 23.11. Not seen before in 22.11.

[2025/02/28 10:20:09] [WARN] DBIx::Class::Storage::DBI::insert(): Missing value
for primary key column 'borrowernumber' on BorrowerModification - perhaps you
forgot to set its 'is_auto_increment' attribute during add_columns()? Treating
'borrowernumber' implicitly as an autoinc, and attempting value retrieval at
/usr/share/koha/Koha/Object.pm line 172

Coming from opac-memberentry.pl when storing Koha::Patron::Modification in the
create step.
Probably adding a borrowernumber 0 in the hash should be enough to get rid of
this probably innocent warning?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
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