public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel@seyman.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-HTML-FormFu-Model-DBIC] rawhide: Fix failures in tests due HTML-FormFu 2.09
Date: Sun, 08 Nov 2026 14:35:07 GMT	[thread overview]
Message-ID: <179414850723.1.4294331363873660196.rpms-perl-HTML-FormFu-Model-DBIC-6a47470b3e84@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-HTML-FormFu-Model-DBIC
Branch : rawhide
Commit : 6a47470b3e84bef8282d447d11aa11b7fd64b97b
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date   : 2026-11-08T15:34:55+01:00
Stats  : +174/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-HTML-FormFu-Model-DBIC/c/6a47470b3e84bef8282d447d11aa11b7fd64b97b?branch=rawhide

Log:
Fix failures in tests due HTML-FormFu 2.09

---
diff --git a/HTML-FormFu-Model-DBIC-2.03-autoincrement.patch b/HTML-FormFu-Model-DBIC-2.03-autoincrement.patch
new file mode 100644
index 0000000..a18292d
--- /dev/null
+++ b/HTML-FormFu-Model-DBIC-2.03-autoincrement.patch
@@ -0,0 +1,161 @@
+commit b14920578f8aae7488fa1f18cb8179d0b10374d9
+Author: Emmanuel Seyman <emmanuel@seyman.fr>
+Date:   Sun Oct 18 16:16:28 2026 +0200
+
+    Tag all id fields as been auto-increment
+
+diff --git a/t/lib/MySchema/Address.pm b/t/lib/MySchema/Address.pm
+index 5d9081a..c0c1a31 100644
+--- a/t/lib/MySchema/Address.pm
++++ b/t/lib/MySchema/Address.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("address");
+ 
+ __PACKAGE__->add_columns(
+-    id        => { data_type => "INTEGER", is_nullable => 0 },
++    id        => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     user      => { data_type => "INTEGER", is_nullable => 0 },
+     my_label  => { data_type => "TEXT", is_nullable => 1 },
+     address   => { data_type => "TEXT", is_nullable => 0 },
+diff --git a/t/lib/MySchema/Band.pm b/t/lib/MySchema/Band.pm
+index bc91f01..f2fa075 100644
+--- a/t/lib/MySchema/Band.pm
++++ b/t/lib/MySchema/Band.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("band");
+ 
+ __PACKAGE__->add_columns(
+-    id      => { data_type => "INTEGER", is_nullable => 0 },
++    id      => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     manager => { data_type => "INTEGER", is_nullable => 1 },
+     band    => { data_type => "TEXT", is_nullable => 0 },
+ );
+diff --git a/t/lib/MySchema/ManagedBand.pm b/t/lib/MySchema/ManagedBand.pm
+index 0dff749..dce8acf 100644
+--- a/t/lib/MySchema/ManagedBand.pm
++++ b/t/lib/MySchema/ManagedBand.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("managed_band");
+ 
+ __PACKAGE__->add_columns(
+-    id         => { data_type => "INTEGER", is_nullable => 0 },
++    id         => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     manager_id => { data_type => "INTEGER", is_nullable => 0 },
+     band       => { data_type => "TEXT",    is_nullable => 0 },
+ );
+diff --git a/t/lib/MySchema/Manager.pm b/t/lib/MySchema/Manager.pm
+index 2814b99..cb94dd8 100644
+--- a/t/lib/MySchema/Manager.pm
++++ b/t/lib/MySchema/Manager.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("manager");
+ 
+ __PACKAGE__->add_columns(
+-    id   => { data_type => "INTEGER", is_nullable => 0 },
++    id   => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     name => { data_type => "TEXT", is_nullable => 0 },
+ );
+ 
+diff --git a/t/lib/MySchema/Master.pm b/t/lib/MySchema/Master.pm
+index ab0f8a5..ebabe1b 100644
+--- a/t/lib/MySchema/Master.pm
++++ b/t/lib/MySchema/Master.pm
+@@ -14,6 +14,7 @@ __PACKAGE__->add_columns(
+     id             => {
+         data_type => "INTEGER",
+         is_nullable => 0,
++		is_auto_increment => 1,
+     },
+     text_col       => { data_type => "TEXT", is_nullable => 1 },
+     password_col   => { data_type => "TEXT", is_nullable => 1 },
+diff --git a/t/lib/MySchema/Note.pm b/t/lib/MySchema/Note.pm
+index 6f22723..54cd8d8 100644
+--- a/t/lib/MySchema/Note.pm
++++ b/t/lib/MySchema/Note.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("note");
+ 
+ __PACKAGE__->add_columns(
+-    id     => { data_type => "INTEGER", is_nullable => 0 },
++    id     => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     master => { data_type => "INTEGER", is_nullable => 0 },
+     note   => { data_type => "TEXT", is_nullable => 0 },
+ );
+diff --git a/t/lib/MySchema/Schedule.pm b/t/lib/MySchema/Schedule.pm
+index c98dd5d..839555a 100644
+--- a/t/lib/MySchema/Schedule.pm
++++ b/t/lib/MySchema/Schedule.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ InflateColumn::DateTime Core /);
+ __PACKAGE__->table("schedule");
+ 
+ __PACKAGE__->add_columns(
+-    id     => { data_type => "INTEGER", is_nullable => 0 },
++    id     => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     master => { data_type => "INTEGER", is_nullable => 0 },
+     date   => { data_type => "DATETIME", is_nullable => 0 },
+     note   => { data_type => "TEXT", is_nullable => 0 },
+diff --git a/t/lib/MySchema/Task.pm b/t/lib/MySchema/Task.pm
+index e672c7b..021b457 100644
+--- a/t/lib/MySchema/Task.pm
++++ b/t/lib/MySchema/Task.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("task");
+ 
+ __PACKAGE__->add_columns(
+-    id       => { data_type => "INTEGER", is_nullable => 0 },
++    id       => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     schedule => { data_type => "INTEGER", is_nullable => 0 },
+     deadline => { data_type => "DATETIME", is_nullable => 1 },
+     detail   => { data_type => "TEXT", is_nullable => 0 },
+diff --git a/t/lib/MySchema/TwoNote.pm b/t/lib/MySchema/TwoNote.pm
+index 3133504..db4a82e 100644
+--- a/t/lib/MySchema/TwoNote.pm
++++ b/t/lib/MySchema/TwoNote.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("two_note");
+ 
+ __PACKAGE__->add_columns(
+-    id     => { data_type => "INTEGER", is_nullable => 0 },
++    id     => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     two_note_id => { data_type => "INTEGER", is_nullable => 0 },
+     note   => { data_type => "TEXT", is_nullable => 0 },
+ );
+diff --git a/t/lib/MySchema/Type.pm b/t/lib/MySchema/Type.pm
+index 9b31e6c..4bd1e2b 100644
+--- a/t/lib/MySchema/Type.pm
++++ b/t/lib/MySchema/Type.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("type");
+ 
+ __PACKAGE__->add_columns(
+-    id   => { data_type => "INTEGER", is_nullable => 0 },
++    id   => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     type => { data_type => "TEXT", is_nullable => 0 },
+ );
+ 
+diff --git a/t/lib/MySchema/Type2.pm b/t/lib/MySchema/Type2.pm
+index 96507da..fcff006 100644
+--- a/t/lib/MySchema/Type2.pm
++++ b/t/lib/MySchema/Type2.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("type2");
+ 
+ __PACKAGE__->add_columns(
+-    id   => { data_type => "INTEGER", is_nullable => 0 },
++    id   => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     type => { data_type => "TEXT", is_nullable => 0 },
+ );
+ 
+diff --git a/t/lib/MySchema/User.pm b/t/lib/MySchema/User.pm
+index 3aaf2e0..2877f72 100644
+--- a/t/lib/MySchema/User.pm
++++ b/t/lib/MySchema/User.pm
+@@ -9,7 +9,7 @@ __PACKAGE__->load_components(qw/ Core /);
+ __PACKAGE__->table("user");
+ 
+ __PACKAGE__->add_columns(
+-    id     => { data_type => "INTEGER", is_nullable => 0 },
++    id     => { data_type => "INTEGER", is_nullable => 0, is_auto_increment => 1 },
+     master => { data_type => "INTEGER", is_nullable => 1 },
+     name   => { data_type => "TEXT", is_nullable => 0 },
+     title  => { data_type => "TEXT", is_nullable => 1 },

diff --git a/HTML-FormFu-Model-DBIC-2.03-missing-when.patch b/HTML-FormFu-Model-DBIC-2.03-missing-when.patch
new file mode 100644
index 0000000..72fe735
--- /dev/null
+++ b/HTML-FormFu-Model-DBIC-2.03-missing-when.patch
@@ -0,0 +1,13 @@
+diff --git a/t/update/has_many_repeatable_new_required_when.t b/t/update/has_many_repeatable_new_required_when.t
+index 6696153..ee99be8 100644
+--- a/t/update/has_many_repeatable_new_required_when.t
++++ b/t/update/has_many_repeatable_new_required_when.t
+@@ -46,7 +46,7 @@ my $master = $schema->resultset('Master')->create({ id => 1 });
+     $form->process( {
+             'id'                  => 2,
+             'name'                => 'new nick',
+-            'count'               => 4,
++            'count'               => 3,
+             'addresses_1.id'      => 2,
+             'addresses_1.address' => 'new home',
+             'addresses_2.id'      => 3,

             reply	other threads:[~2026-11-08 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08 14:35 Emmanuel Seyman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-11-08 14:35 [rpms/perl-HTML-FormFu-Model-DBIC] rawhide: Fix failures in tests due HTML-FormFu 2.09 Emmanuel Seyman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179414850723.1.4294331363873660196.rpms-perl-HTML-FormFu-Model-DBIC-6a47470b3e84@fedoraproject.org \
    --to=emmanuel@seyman.fr \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox