Closed
Description
Michael Osipov opened SPR-10153 and commented
I have defined a mapping like this:
public ResponseEntity<Object> lookupProject(@PathVariable String project,
@RequestParam(value = "outputType", required = false, defaultValue = "HASH") OutputType outputType)
OutputType is an enum with values HASH and ARRAY.
When the converter is not able to converter to an enum a TypeMismatchException
is issued. Unfortunately, TypeMismatchException#getPropertyName
is not populated. I cannot reasonbly determine that exactly this parameter has failed.
Please add the appropriate PropertyChangeEvent
.
Affects: 3.1.3
Issue Links:
- MVC: which parameter cannot be parsed? [SPR-11805] #16425 MVC: which parameter cannot be parsed? ("is duplicated by")
Referenced from: commits 6f5359e
3 votes, 8 watchers