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] keep the context when validating forms#25940

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-25542
Feb 7, 2018

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#25542
LicenseMIT
Doc PR

@xabbuh
Copy link
MemberAuthor

The context is modified by the nested validator calls for the form children. I am actually not sure if this solution is the best or if we should rather clone the current context before validating the nested data.

If someone is able to write a test case for this, that will be really appreciated. I failed miserably.

@xabbuh
Copy link
MemberAuthor

Status: Needs Review

@nicolas-grekas
Copy link
Member

nicolas-grekas commentedFeb 3, 2018
edited
Loading

Could you add a test case please?

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

(I missed the test change :) )

@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit317da3b intosymfony:2.7Feb 7, 2018
fabpot added a commit that referenced this pull requestFeb 7, 2018
This PR was merged into the 2.7 branch.Discussion----------[Form] keep the context when validating forms| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#25542| License       | MIT| Doc PR        |Commits-------317da3b keep the context when validating forms
@xabbuhxabbuh deleted the issue-25542 branchFebruary 7, 2018 08:09
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

4 participants

@xabbuh@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp