Skip to content
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

fix(dockerfile): intl php extension is not installed #136

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

m90
Copy link
Contributor

@m90 m90 commented Jun 3, 2024

Link to Phabricator

https://phabricator.wikimedia.org/T365916

Prior discussion

None

Describe the changes

Certain code paths in Quickstatements try to call normalizer_normalize, which currently throws an unhandled exception as the global function is not available.
The function is provided by the intl extension, so this PR fixes the problem by installing the extension in the Docker image.
The way of installing the extension is copied verbatim (plus version pins) from the wikibase-release-pipeline.

This is what I need help with

I tested this locally using the steps provided in the ticket, but as I am far from a Quickstatements expert, it'd be good if the reviewer can confirm that this works for them as well locally.

In certain scenarios the code in quickstatements tries to call
the global `normalizer_normalize` function which is not available
unless the `intl` extension is installed.

Ticket: https://phabricator.wikimedia.org/T365916
@m90 m90 force-pushed the fr/intl-extension branch from 8a6f181 to 48c1beb Compare June 3, 2024 13:16
@m90 m90 merged commit 7a50ebf into main Jun 4, 2024
3 checks passed
@m90 m90 deleted the fr/intl-extension branch June 4, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants