Skip to content

Revert "bug #20184 [FrameworkBundle] Convert null prefix to an empty string in translation:update (chalasr)" #20433

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

Merged
merged 1 commit into from
Nov 7, 2016

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Nov 7, 2016

Q A
Branch? 2.7
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #20184 (comment)
License MIT
Doc PR n/a

This reverts commit 3f650f8 because the fix is not valid.
It is actually not possible to have an option with value optional given empty to be empty if this one has a default value. The default value will always be the one returned, see #20184 (comment) for details.

… empty string in translation:update (chalasr)"

This reverts commit 3f650f8, reversing
changes made to 962248d.
@chalasr chalasr changed the title Revert "bug #20184 [FrameworkBundle] Convert null prefix to an empty string in translation:update (chala Revert "bug #20184 [FrameworkBundle] Convert null prefix to an empty string in translation:update (chalasr)" Nov 7, 2016
@javiereguiluz
Copy link
Member

👍

Status: reviewed

@stof
Copy link
Member

stof commented Nov 7, 2016

👍

@stof
Copy link
Member

stof commented Nov 7, 2016

@javiereguiluz why adding the 3.2 milestone ? This targets the 2.7 branch, as this is where the buggy patch was merged

@javiereguiluz
Copy link
Member

javiereguiluz commented Nov 7, 2016

@stof you are right. The idea of the "3.2" milestone is "PRs to be merged before the release of Symfony 3.2" and not "PRs to be merged exclusively for Symfony 3.2". It'd be sad to release 3.2.0 with well-known bugs that already have a solution and had to wait for 3.2.1.

@fabpot
Copy link
Member

fabpot commented Nov 7, 2016

Thank you @chalasr.

@fabpot fabpot merged commit b2fa7c4 into symfony:2.7 Nov 7, 2016
fabpot added a commit that referenced this pull request Nov 7, 2016
… to an empty string in translation:update (chalasr)" (chalasr)

This PR was merged into the 2.7 branch.

Discussion
----------

Revert "bug #20184 [FrameworkBundle] Convert null prefix to an empty string in translation:update (chalasr)"

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #20184 (comment)
| License       | MIT
| Doc PR        | n/a

This reverts commit 3f650f8 because the fix is not valid.
It is actually not possible to have an option with value optional given empty to be `empty` if this one has a default value. The default value will always be the one returned, see #20184 (comment) for details.

Commits
-------

b2fa7c4 Revert "bug #20184 [FrameworkBundle] Convert null prefix to an empty string in translation:update (chalasr)"
@chalasr chalasr deleted the framework/revert-3f650f8 branch November 7, 2016 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants