Fixed
Details
Details
Assignee
Guillaume Smet
Guillaume SmetReporter
Gunnar Morling
Gunnar MorlingBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Guillaume Smet
Gunnar Morling
Components
Fix versions
Affects versions
Priority
Created July 24, 2017 at 10:18 AM
Updated August 3, 2017 at 4:19 PM
Resolved July 24, 2017 at 10:32 AM
CascadingValueExtactorResolutionAlgorithmTest#parallelValueExtractorDefinitionsCausesException()
expects an exception, but a correct implementation of the spec will not raise an exception in this case actually.The exception is expected based on the assumption that two value extractors are type-compliant and container-element-compliant with the the first container element of
IWrapper212<@Valid Bean21, @Valid Bean22> wrapper
. While two of the value extractors registered in the test are type-compliant (IWrapper211ValueExtractor0
andIWrapper212ValueExtractor0
), only one of them is container-element-compliant (IWrapper212ValueExtractor0
).The fix is to change the type of
wrapper
intoIWrapper21
, in which case indeed the two extractors both are type-compliant and container-element-compliant and an exception must be raised.