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

[Validator] Fixed grouped composite constraints#29499

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
stof merged 1 commit intosymfony:3.4fromHeahDude:validation-groups-collection
Dec 8, 2018

Conversation

@HeahDude
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#17675,#25888,#23480
LicenseMIT
Doc PR~

From Lisbon :). Thanks@stof,@xabbuh for your help to finally fix this old issue.

@stof
Copy link
Member

stof commentedDec 8, 2018

Thanks@HeahDude.

@stofstof merged commitb53d911 intosymfony:3.4Dec 8, 2018
stof added a commit that referenced this pull requestDec 8, 2018
This PR was merged into the 3.4 branch.Discussion----------[Validator] Fixed grouped composite constraints| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#17675,#25888,#23480| License       | MIT| Doc PR        | ~From Lisbon :). Thanks@stof,@xabbuh for your help to finally fix this old issue.Commits-------b53d911 [Validator] Fixed grouped composite constraints
@HeahDudeHeahDude deleted the validation-groups-collection branchDecember 8, 2018 15:50
@backbone87
Copy link
Contributor

I think this change completely obsoletes the caching. I am not sure, but a constraint that has two grps would now be validated twice, if the both grps are the validation target.

@xabbuh
Copy link
Member

Most constraints don't extend theComposite constraint so are not affected here.

HeahDude reacted with thumbs up emoji

@backbone87
Copy link
Contributor

Yes you are right, i was desperately searching for the check forComposites, while its right the line above.

@conradkleinespel
Copy link
Contributor

conradkleinespel commentedMay 2, 2019
edited
Loading

Thanks for the fix@stof !

Just FYI, I think (I'm still investigating) this might have been a breaking change for us. Suddenly, some of our forms return unexpected validation errors. I think our code depended on this bug. Hopefully the fix should be quick. Nevertheless it is a bit surprising to see this in a patch release.

I think we might have to check every single validation rule that uses collections in our project, because some previously unknown validations might come into action silently, preventing customers from doing things that were previously possible.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@HeahDude@stof@backbone87@xabbuh@conradkleinespel@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp