Skip to content

Conversation

@sergeyfedotov
Copy link
Contributor

Q A
Branch? 2.3
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Option assignment is not required because the prototype inherits this option from the parent form via standard inheritance mechanism.

Related pull requests: #16959, #18317

@HeahDude
Copy link
Contributor

HeahDude commented Apr 5, 2016

👍 Good catch, I failed to understand when you first proposed it in #18317.

Status: Reviewed

@Tobion
Copy link
Contributor

Tobion commented Apr 6, 2016

This basically reverts #16959. So the issue that it fixed (#15544) was not actually broken as the test still passes?

@sergeyfedotov
Copy link
Contributor Author

#18317 resolves the issue #15544 by the new way. Tests that have been introduced in the #16959 still pass.

@xabbuh
Copy link
Member

xabbuh commented Apr 6, 2016

👍

@Tobion
Copy link
Contributor

Tobion commented Apr 6, 2016

Thank you @sergeyfedotov.

@Tobion Tobion merged commit da8a197 into symfony:2.3 Apr 6, 2016
Tobion added a commit that referenced this pull request Apr 6, 2016
This PR was merged into the 2.3 branch.

Discussion
----------

[Form] Remove unnecessary option assignment

| Q             | A
| ------------- | ---
| Branch?       | 2.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Option assignment is not required because the prototype inherits this option from the parent form via standard inheritance mechanism.

Related pull requests: #16959, #18317

Commits
-------

da8a197 Remove unnecessary option assignment
@sergeyfedotov sergeyfedotov deleted the remove_unnecessary_option_assignment branch April 6, 2016 12:02
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