M2.2.3 directory_country_region_name locale fix? 8bytes zh_Hans_CN(11bytes) ca_ES_VALENCIA(14bytes) #14001
Labels
Component: Directory
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
help wanted
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Progress: PR Created
Indicates that Pull Request has been created to fix issue
Reproduced on 2.1.x
The issue has been reproduced on latest 2.1 release
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Reproduced on 2.3.x
The issue has been reproduced on latest 2.3 release
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Preconditions
Perhaps it is English, French, German, Italian and so Latin. Shorthand notation is short (en_US 5 bytes)
The various dialects of Chinese are limited by the length of the field? zh_Hans_CN(11bytes) ca_ES_VALENCIA(14bytes)
directory_country_region_name
locale 8bytesSteps to reproduce
“zh_Hans_CN” ->directory_country_region_name locale == “zh_Hans_”
Invalid after restricted character truncation
Problem path:
app/code/Magento/Directory/Setup/InstallSchema.php:143
Expected result
Change to 14 known valid byte or 16? or only 11 bytes of Chinese zh_hans_xx
Just change it. We are doing Chinese localization Magento2 will be convenient for many
Actual result
New additional data
app/code/Magento/Directory/Setup/InstallSchema.php
Error effect
Before
Database pic
Target effect
Modified After
Database pic
The text was updated successfully, but these errors were encountered: