Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Form][TwigBridge] render hidden _method field in form_rest()#23254

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:2.7fromxabbuh:issue-14261
Jun 21, 2017

Conversation

@xabbuh
Copy link
Member

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#14261
LicenseMIT
Doc PR

Copy link
Contributor

@HeahDudeHeahDude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

👍

@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit0ee3f57 intosymfony:2.7Jun 21, 2017
fabpot added a commit that referenced this pull requestJun 21, 2017
…t() (xabbuh)This PR was merged into the 2.7 branch.Discussion----------[Form][TwigBridge] render hidden _method field in form_rest()| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#14261| License       | MIT| Doc PR        |Commits-------0ee3f57 render hidden _method field in form_rest()
@xabbuhxabbuh deleted the issue-14261 branchJune 21, 2017 20:12
This was referencedJul 3, 2017
ogizanagi added a commit that referenced this pull requestJul 25, 2017
… a child form (fmarchalemisys)This PR was squashed before being merged into the 2.7 branch (closes#23649).Discussion----------[Form][TwigBridge] Don't render _method in form_rest() for a child formThe hidden `_method` must only be generated if the form is the top most form.Always generating the hidden `_method` breaks forms using the POST method when they have children using the PUT method. If `_method` is generated for such a child form, it overrides the parent method and the form fails to validate.See issue#23254| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#14261| License       | MIT| Doc PR        |Commits-------973b2d3 [Form][TwigBridge] Don't render _method in form_rest() for a child form
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@HeahDudeHeahDudeHeahDude approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

4 participants

@xabbuh@fabpot@HeahDude@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp