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

Appearance settings

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

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
Jan 26, 2018

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.