Skip to content

[WIP] [2.8] [Form] fix FQCN in tests added by #17760 #17759

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
Feb 26, 2016

Conversation

HeahDude
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? not yet
Fixed tickets n/a
License MIT
Doc PR -

@HeahDude HeahDude changed the title [Form] fix choice value for "false" in ChoiceType [2.8] [Form] fix choice value for "false" in ChoiceType Feb 11, 2016
@xabbuh
Copy link
Member

xabbuh commented Feb 11, 2016

Isn't this the same as #17760?

@HeahDude
Copy link
Contributor Author

@xabbuh indeed. But as for #17694 tests in 2.8 need FQCN or they will fail.
Once #17760 is merged, this PR will fix them.

@linaori
Copy link
Contributor

linaori commented Feb 11, 2016

What if someone uses null?

@HeahDude
Copy link
Contributor Author

@iltar it returns an empty string as expected. But it was the same for false which caused these bugs.

@HeahDude HeahDude changed the title [2.8] [Form] fix choice value for "false" in ChoiceType [2.8] [Form] fix tests added by #17760 Feb 11, 2016
@HeahDude HeahDude changed the title [2.8] [Form] fix tests added by #17760 [WIP] [2.8] [Form] fix FQCN in tests added by #17760 Feb 13, 2016
@HeahDude
Copy link
Contributor Author

Status : Needs Work

fabpot added a commit that referenced this pull request Feb 26, 2016
…ude)

This PR was merged into the 2.7 branch.

Discussion
----------

[2.7] [Form] fix choice value "false" in ChoiceType

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17292, #14712, #17789
| License       | MIT
| Doc PR        | -

- [x] Add tests for choices with `boolean` and `null` values, and with a placeholder
- [x] Fix FQCN in 2.8 tests, see #17759
- [x] Remove `choices_as_values` in 3.0 tests, see #17886

Commits
-------

8f918e5 [Form] refactor `RadioListMapper::mapDataToForm()`
3eac469 [Form] fix choice value "false" in ChoiceType
@fabpot
Copy link
Member

fabpot commented Feb 26, 2016

#17760 has been merged.

@fabpot
Copy link
Member

fabpot commented Feb 26, 2016

Is this one still needed?

@HeahDude
Copy link
Contributor Author

No let's close.

@HeahDude HeahDude closed this Feb 26, 2016
@HeahDude
Copy link
Contributor Author

But it would be more consistent with other tests. I missed the ping this should have been merged before #17886 :(

Will there be some conflicts ? I let you decide to close then.

@HeahDude HeahDude reopened this Feb 26, 2016
@HeahDude
Copy link
Contributor Author

I've rebased, it's up to you.

@fabpot
Copy link
Member

fabpot commented Feb 26, 2016

Thank you @HeahDude.

@fabpot fabpot merged commit acdd7db into symfony:2.8 Feb 26, 2016
fabpot added a commit that referenced this pull request Feb 26, 2016
…ahDude)

This PR was merged into the 2.8 branch.

Discussion
----------

[WIP] [2.8] [Form] fix FQCN in tests added by #17760

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | not yet
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | -

- [x] Update tests from #17760
- [x] Wait for #17760 to be merged in 2.8

Commits
-------

acdd7db [Form] fix tests added by #17760 with FQCN
@HeahDude HeahDude deleted the fix-#17677 branch February 26, 2016 06:26
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.

6 participants