Summary: | AuthorisedValues.t generates a warning | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Test Suite | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | Pushed to oldstable --- | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | minor | ||
Priority: | P5 - low | CC: | fridolin.somers, martin.renvoize |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: |
25.11.00,25.05.02,24.11.08
|
Circulation function: | |
Bug Depends on: | |||
Bug Blocks: | 40444 | ||
Attachments: |
Bug 40376: Remove warning from AuthorisedValues.t
Bug 40376: Remove warning from AuthorisedValues.t Bug 40376: Remove warning from AuthorisedValues.t |
Description
Jonathan Druart
2025-07-15 09:56:24 UTC
Created attachment 184078 [details] [review] Bug 40376: Remove warning from AuthorisedValues.t t/db_dependent/AuthorisedValues.t .. 1/17 DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'tagsubfield' on MarcSubfieldStructure - perhaps you forgot to set its 'is_auto_increment' attrib ute during add_columns()? Treating 'tagsubfield' implicitly as an autoinc, and attempting value retrieval at /kohadevbox/koha/Koha/Object.pm line 174 It is a bit scary but it's only that we forgot to pass a value for tagsubfield (that is NOT NULL and part of the PK) Created attachment 184244 [details] [review] Bug 40376: Remove warning from AuthorisedValues.t t/db_dependent/AuthorisedValues.t .. 1/17 DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'tagsubfield' on MarcSubfieldStructure - perhaps you forgot to set its 'is_auto_increment' attrib ute during add_columns()? Treating 'tagsubfield' implicitly as an autoinc, and attempting value retrieval at /kohadevbox/koha/Koha/Object.pm line 174 It is a bit scary but it's only that we forgot to pass a value for tagsubfield (that is NOT NULL and part of the PK) Signed-off-by: David Nind <david@davidnind.com> Created attachment 184358 [details] [review] Bug 40376: Remove warning from AuthorisedValues.t t/db_dependent/AuthorisedValues.t .. 1/17 DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'tagsubfield' on MarcSubfieldStructure - perhaps you forgot to set its 'is_auto_increment' attrib ute during add_columns()? Treating 'tagsubfield' implicitly as an autoinc, and attempting value retrieval at /kohadevbox/koha/Koha/Object.pm line 174 It is a bit scary but it's only that we forgot to pass a value for tagsubfield (that is NOT NULL and part of the PK) Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Nice work everyone! Pushed to main for 25.11 Nice work everyone! Pushed to 25.05.x Pushed to 24.11.x for 24.11.08 |