Bug 2547311

Summary: perl-HTML-FormFu-Model-DBIC-2.03-26.fc46 FTBFS: t/update/has_many_repeatable_new_required_when.t fails
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-HTML-FormFu-Model-DBICAssignee: Emmanuel Seyman <emmanuel>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: emmanuel, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org//package/perl-HTML-FormFu-Model-DBIC
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2503726    

Description Petr Pisar 2026-10-07 08:47:43 UTC
perl-HTML-FormFu-Model-DBIC-2.03-26.fc46 fails to build in Fedora 46 because a test fails:

DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'id' on User - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'id' implicitly as an autoinc, and attempting value retrieval at t/update/has_many_repeatable_new_required_when.t line 27
DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'id' on Address - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'id' implicitly as an autoinc, and attempting value retrieval at t/update/has_many_repeatable_new_required_when.t line 30
DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'id' on User - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'id' implicitly as an autoinc, and attempting value retrieval at t/update/has_many_repeatable_new_required_when.t line 36
DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'id' on Address - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'id' implicitly as an autoinc, and attempting value retrieval at t/update/has_many_repeatable_new_required_when.t line 39
DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'id' on Address - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'id' implicitly as an autoinc, and attempting value retrieval at t/update/has_many_repeatable_new_required_when.t line 42
#   Failed test at t/update/has_many_repeatable_new_required_when.t line 58.
#   Failed test at t/update/has_many_repeatable_new_required_when.t line 72.
#          got: '2'
#     expected: '3'
#   Failed test at t/update/has_many_repeatable_new_required_when.t line 75.
#          got: 'home'
#     expected: 'new home'
#   Failed test at t/update/has_many_repeatable_new_required_when.t line 78.
#          got: 'office'
#     expected: 'new office'
Can't call method "id" on an undefined value at t/update/has_many_repeatable_new_required_when.t line 80.
# Looks like your test exited with 255 just after 7.
t/update/has_many_repeatable_new_required_when.t .............. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/9 subtests 

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/24074971>. The failure is triggered by upgrading perl-HTML-FormFu from 0:2.07-25.fc46 to 0:2.09-1.fc46.

Other passing tests are also full of the "Missing value for primary key column" warning.