-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR (PHP 8.2.12) #2029
Comments
Probably caused by the fix for php/php-src#12282 which landed in PHP 8.2.12 and 8.1.25 Edit: php/php-src#12561, it might still get fixed upstream, so let's wait. |
We have update our php version to the lastest yesterday ( Concern line in Symfony core : With inputs :
So it seems than "cz" locale is considerate as an invalid locale ><
So... bug or misconfiguration of our app ? |
The bug was introduced in PHP 8.2.12 - technically not a "bug" but .patch version upgrades should not break backwards compatibility, so the change will be reverted in PHP 8.2.13 and 8.1.26, see php/php-src#12561. The path of least resistance is to not upgrade to PHP 8.2.12 and wait for the next PHP release. |
We pass our users from "cz" locale to "cs" and it works again. Thanx for your response. |
PHP 8.2.13 and 8.1.26 introduced another error preventing the CI to pass with default POSIX locale. We now have a wrapper to get the locale and replace C with a valid locale. @see php/php-src#12561 Fixes shaarli#2029
The automatic test suite started failing for PHP 8.1 and 8.2 after #2028 which is just a documentation update and doesn't touch dependencies or application code.
https://github.com/shaarli/Shaarli/actions/workflows/ci.yml
The text was updated successfully, but these errors were encountered: