Skip to content

[Validator] Fix propertyPath with nested collections in the LegacyExecutionContext #11074

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

Closed

Conversation

jakzal
Copy link
Contributor

@jakzal jakzal commented Jun 7, 2014

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #11072 #11046
License MIT
Doc PR -

Some tests are failing for other reasons.

'name' => new ConstraintA(),
'books' => new All(array('constraints' => array(
new ConstraintA()
)))
Copy link
Contributor

Choose a reason for hiding this comment

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

is this indentation correct @jakzal ?

@cordoval
Copy link
Contributor

cordoval commented Jun 7, 2014

tests fail @jakzal, it seems your patch breaks the build

@jakzal
Copy link
Contributor Author

jakzal commented Jun 7, 2014

@cordoval no, this patch doesn't break the build. Look at what's broken.

@cordoval
Copy link
Contributor

cordoval commented Jun 7, 2014

oh cool you fixed it 👍

@stof
Copy link
Member

stof commented Jun 7, 2014

👍

@denisvmedia
Copy link

Please check this ticket: #11072 - this patch fixes the older code, but still keeps the newer one producing unexpected (at least for me) results.

@jakzal
Copy link
Contributor Author

jakzal commented Jun 10, 2014

@webmozart could you have a look at this PR please? I'm no longer sure about cloning, or if it's in the right place.

I'm confident about the property path fix and could prepare a separate PR just for that if needed.

@stof
Copy link
Member

stof commented Jun 13, 2014

@jakzal Please submit the property path bugfix separately so that we can merge it without waiting for @webmozart's feedback on the way to fix the contextual validator

@jakzal
Copy link
Contributor Author

jakzal commented Jun 13, 2014

@stof done #11117

@stof
Copy link
Member

stof commented Jun 16, 2014

@jakzal can you rebase this one ? It conflicts with the current 2.5 branch

@jakzal
Copy link
Contributor Author

jakzal commented Jun 16, 2014

@stof done

I'm not sure if clone was done at right place. Might be it should actually be done inside the inContext() method.

@webmozart
Copy link
Contributor

Replaced by #11412.

@webmozart webmozart closed this Jul 17, 2014
@jakzal jakzal deleted the validator-legacyexecutioncontext-fix branch September 26, 2017 10:43
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