Skip to content

Conversation

@HeahDude
Copy link
Contributor

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

The Button does not respect the FormInterface, by extension the SubmitButton neither.

@HeahDude HeahDude changed the title Fixed Button::setParent() when already submitted [Form] Fixed Button::setParent() when already submitted Jan 25, 2018
@xabbuh xabbuh added the Form label Jan 25, 2018
@xabbuh xabbuh added this to the 2.7 milestone Jan 25, 2018
@fabpot
Copy link
Member

fabpot commented Jan 26, 2018

Thank you @HeahDude.

@fabpot fabpot merged commit 9f0c7bf into symfony:2.7 Jan 26, 2018
fabpot added a commit that referenced this pull request Jan 26, 2018
…eahDude)

This PR was merged into the 2.7 branch.

Discussion
----------

[Form] Fixed Button::setParent() when already submitted

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

The `Button` does not respect the [FormInterface](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Form/FormInterface.php#L28), by extension the `SubmitButton` neither.

Commits
-------

9f0c7bf Fixed Button::setParent() when already submitted
@HeahDude HeahDude deleted the fix/submitted-button-parent branch January 26, 2018 15:28
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