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] Remove translation data_collector BEFORE adding it to profiler#39350

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

Conversation

@l-vo
Copy link
Contributor

@l-vol-vo commentedDec 6, 2020

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

There is an order problem betweenDataCollectorTranslatorPass andProfilerPass. CurrentlyDataCollectorTranslatorPass is registered afterProfilerPass. So ifdata_collector.translation is removed, it has already been added to the profiler and the compilation fails.

The simplest approach seems to moveDataCollectorTranslatorPass beforeProfilerPass.

Use case: When I want to useIdentityTranslator (for the test environment for instance) which doesn't implementTranslatorBagInterface.

@fabpot
Copy link
Member

Thank you@l-vo.

@fabpotfabpot merged commit66e8ae9 intosymfony:4.4Sep 21, 2021
This was referencedSep 28, 2021
@l-vol-vo deleted the fix_translator_datacollector_removed_too_late branchDecember 17, 2021 21:50
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@l-vo@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp