Bug #9855
Recursive validators cannot be built due to endless recursion
Status: | Resolved | Start date: | 2010-09-20 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Validation | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 12 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
When the ValidatorResolver tries to build a baseValidatorConjunction for a class that has a reference to itself, endless recursion is the result.
Related issues
Associated revisions
[+BUGFIX] FLOW3 (Validation): Fix building of base validators
The conjunction validators built for base validation of models did not
behave correctly, validation of contained objects was not added at all,
if no @validate annotation was found (#9862).
In addition validators for nested objects (A contains B which contains
A) could not be built due to ending up in endless recursion (#9855).
Change-Id: Id62828271312adb5c8e21c000a061b008b4596ec
Fixes: #9855
Fixes: #9862
History
#1 Updated by Karsten Dambekalns almost 5 years ago
- Status changed from New to Accepted
#2 Updated by Karsten Dambekalns almost 5 years ago
- Status changed from Accepted to Under Review
#3 Updated by Karsten Dambekalns almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 48baedceea717f40bd195df3469cbee64d3a3acd.