-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement