Bug 40491

Summary: 19.12.00.082 crashes if zh-Hant-TW is installed
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Installation and upgrade (command-line installer)Assignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, tomascohen
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 23794    
Bug Blocks:    

Description Jonathan Druart 2025-07-24 11:04:14 UTC
If zh-Hant-TW is installed the upgrade will fail on 19.12.00.082 because opac_news.lang is varchar(25) and we try to insert OpacMainUserBlock_$lang
Comment 1 Jonathan Druart 2025-07-24 11:09:49 UTC
{UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Data too long for column 'lang' at row 1  at /usr/share/perl5/DBIx/Class/Schema.pm line 1118.