Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle] [Validator] Legacy Translator Checking#31154

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
snebes wants to merge9 commits intosymfony:4.2fromsnebes:fwb-translator-error

Conversation

@snebes
Copy link

QA
Branch?4.2
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#31152,#31108
LicenseMIT

This fixes the recent bug that was introduced in 4.2.7 with regard to the old TranslatorInterface being passed to the LegacyTranslatorProxy decorator, which isn't compatible.

ping@nicolas-grekas since you were looking for this

@snebessnebes changed the titleFwb translator error[WIP] [FrameworkBundle] Legacy Translator CheckingApr 18, 2019
"symfony/polyfill-ctype":"~1.8",
"symfony/polyfill-mbstring":"~1.0"
"symfony/polyfill-mbstring":"~1.0",
"symfony/translation":"~4.2"
Copy link
Author

@snebessnebesApr 18, 2019
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I moved this into therequire section sinceLegacyTranslatorProxy includes a reference still to the old interface.

https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Util/LegacyTranslatorProxy.php#L14

@snebessnebes changed the title[WIP] [FrameworkBundle] Legacy Translator Checking[WIP] [FrameworkBundle] [Validator] Legacy Translator CheckingApr 18, 2019
@snebessnebes changed the title[WIP] [FrameworkBundle] [Validator] Legacy Translator Checking[FrameworkBundle] [Validator] Legacy Translator CheckingApr 18, 2019
@nicolas-grekas
Copy link
Member

Thanks, but I don't understand why all these changes. This reintroduces the bug that is fixed by#31108

I feel like the only needed change is moving translation to the require section, isn't it?

@xabbuh
Copy link
Member

see#31156 for an easier alternative solution

@nicolas-grekas
Copy link
Member

Thank you@snebes, I merged#31156 instead. Next time :)

@snebessnebes deleted the fwb-translator-error branchApril 18, 2019 06:41
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

4 participants

@snebes@nicolas-grekas@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp