Bugzilla – Attachment 170779 Details for
Bug 36919
t/db_dependent/Koha/Object.t produces warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36919: Remove yet another warning from Koha/Object.t
Bug-36919-Remove-yet-another-warning-from-KohaObje.patch (text/plain), 1.15 KB, created by
Lucas Gass (lukeg)
on 2024-08-27 16:41:04 UTC
(
hide
)
Description:
Bug 36919: Remove yet another warning from Koha/Object.t
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-08-27 16:41:04 UTC
Size:
1.15 KB
patch
obsolete
>From d4ec803659129b830b494229c1bf04bfc1cdf35e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 22 May 2024 11:23:07 +0200 >Subject: [PATCH] Bug 36919: Remove yet another warning from Koha/Object.t > >DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'currency' on Currency - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'currency' implicitly as an autoinc, and attempting value retrieval at /kohadevbox/koha/Koha/Object.pm line 172 >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > t/db_dependent/Koha/Object.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Koha/Object.t b/t/db_dependent/Koha/Object.t >index 17ab523b7a9..68518175349 100755 >--- a/t/db_dependent/Koha/Object.t >+++ b/t/db_dependent/Koha/Object.t >@@ -1008,6 +1008,7 @@ subtest 'store() tests' => sub { > my $currency = eval { > Koha::Acquisition::Currency->new( > { >+ currency => 'Cur_test', > active => 'IT4test', > } > )->store; >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36919
:
167014
|
167015
|
167016
|
167057
|
167058
|
167059
|
170777
|
170778
| 170779