Summary: | Wrong systempreference for AddressFormat (es-ES) | ||
---|---|---|---|
Product: | Koha | Reporter: | verolencinas <verolencinas> |
Component: | Patrons | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrew, fridolin.somers, gmcharlt, jonathan.druart, kyle.m.hall |
Version: | Main | ||
Hardware: | All | ||
OS: | Linux | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.05.00,20.11.04
|
|
Circulation function: | |||
Bug Depends on: | 24973 | ||
Bug Blocks: | |||
Attachments: | Bug 27822: Fix default value for AddressFormat (es-ES) |
Description
verolencinas
2021-03-01 13:20:48 UTC
Which exact version of 20.11? It works for me on the latest (20.11.03). Right, scratch the last comment. How did you end up with "US" instead of "us"? It looks ok in the installer data (installer/data/mysql/mandatory/sysprefs.sql): 13 ('AddressFormat','us','us|de|fr','Choose format to display postal addresses', 'Choice'), I had this problem updating 19.11 to 20.11.03. My sysprefs.sql is ok. I'm closing this bug. The "US" in AddressFormat is in installer/data/mysql/localization/es-ES/custom.sql Created attachment 117527 [details] [review] Bug 27822: Fix default value for AddressFormat (es-ES) It must be "us" not "US" otherwise you get Template process failed: file error - member-main-address-style-US: not found at /usr/share/koha/lib/C4/Templates.pm line 122" because the system expects "us", not "US". Indeed, thanks! A workaround is to, using the UI, save it to another value than "us", then back to "us". It should be set to "us" in DB. Pushed to master for 21.05, thanks to everybody involved! Pushed to 20.11.x for 20.11.04 Missing dependency, not backported to 20.05 |