[Koha-bugs] [Bug 31383] Additional contents: We need a parent and child table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 18 16:43:38 CEST 2023


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

--- Comment #22 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Marcel de Rooy from comment #13)
> Looking here.
> 
> Rebased conflict with new WRAPPER in
> koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt

Done.

(In reply to Marcel de Rooy from comment #14)
>  FAIL   Koha/Schema/Result/AdditionalContentsLocalization.pm
>    FAIL   pod coverage
>                 POD is missing for koha_object_class
>                 POD is missing for koha_objects_class

We don't require POD for those subroutines.

>  FAIL   koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
>    FAIL   valid_template
>                 DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
> DBD::mysql::st execute failed: Unknown column 'me.id' in 'field list' at
> /usr/share/koha/Koha/Objects.pm line 421
> 
>  FAIL   koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-page.tt
>    FAIL   valid_template
>                 DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
> DBD::mysql::st execute failed: Unknown column 'me.id' in 'field list' at
> /usr/share/koha/Koha/Objects.pm line 421

Once you run the atomic update this will be fixed.

(In reply to Marcel de Rooy from comment #15)
> perl installer/data/mysql/updatedatabase.pl
> DEV atomic update
> /usr/share/koha/installer/data/mysql/atomicupdate/bug_31383.pl  [13:36:56]:
> Bug 31383 - Split the additional_contents table
>         Renamed additional_contents.idnew with 'id'
>         Added new table 'additional_contents_localizations'
>         Removed 'title', 'content', 'lang' columns from additional_contents
> ERROR - {UNKNOWN}: Not a HASH reference at
> /usr/share/koha/installer/data/mysql/atomicupdate/bug_31383.pl line 71. at
> /usr/share/koha/C4/Installer.pm line 743

Fixed, sorry about that!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list