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] Fix translations dir discovery#16139

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

Merged
nicolas-grekas merged 1 commit intosymfony:2.3fromnicolas-grekas:fix
Oct 6, 2015

Conversation

@nicolas-grekas
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#16133
LicenseMIT
Doc PR-

Copy link
Contributor

Choose a reason for hiding this comment

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

Both path exists in 2.3, but only one contains every translation files :/
So in 2.3, only/../Resources/translations will be loaded, which only containsaz andhe translations.

Copy link
Member

Choose a reason for hiding this comment

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

wait, we have the new path in 2.3 with only incomplete files ? This looks wrong to me.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

ok sorry, I merged really to quickly... let's try again

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

@ogizanagi can you please work on this? (removing Resources/translations from Security/Core in 2.3 also)

Copy link
Member

Choose a reason for hiding this comment

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

Indeed, I did not notice that translations are contained in both directories (even if not both are complete). I guess the real issue was caused by allowing to installsymfony/security andsymfony/security-core in parallel (see#16134) which led to theAuthenticationException being found first in the core package.

@nicolas-grekas Removing the translations from the core package means that we should use another class to detect the translations directory.

Copy link
Contributor

Choose a reason for hiding this comment

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

@xabbuh : Why ? We should only remove those translations files from 2.3 and usesymfony/securityResources/translations folder.
Wouldn't be ok ? (it should not be propagated to upper branches)

Copy link
Contributor

Choose a reason for hiding this comment

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

@nicolas-grekasnicolas-grekas merged commitf37ceef intosymfony:2.3Oct 6, 2015
nicolas-grekas added a commit that referenced this pull requestOct 6, 2015
…s-grekas)This PR was merged into the 2.3 branch.Discussion----------[FrameworkBundle] Fix translations dir discovery| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#16133| License       | MIT| Doc PR        | -Commits-------f37ceef [FrameworkBundle] Fix translations dir discovery
nicolas-grekas added a commit that referenced this pull requestOct 6, 2015
…ity/core in 2.3 & dir loading (ogizanagi)This PR was merged into the 2.3 branch.Discussion----------[FrameworkBundle] [Security] Remove trans from the security/core in 2.3 & dir loading| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | yes| Tests pass?   | yes| Fixed tickets |#16139,#16133| License       | MIT| Doc PR        | -See#16139 (comment).I think the most efficient solution is to remove translations from `Security/Core` in 2.3 only (should not be propagated to newest branches!) and load both folders if they exist.Commits-------1ed07a0 [FrameworkBundle] [Security] Remove trans from the security/core in 2.3 & dir loading
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

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@stof@xabbuh@ogizanagi@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp