Skip to content

Improve Error Message when a PropertyEditor doesn't return the correct type [SPR-4874] #9550

@spring-projects-issues

Description

@spring-projects-issues

Scott Battaglia opened SPR-4874 and commented

This is a minor point, but I had a bug in my PropertyEditor due to some code refactoring such that the PropertyEditor was named correctly but was returning the wrong type. At the IOC level when it went to resolve the ProxyList class, it found the ProxyListEditor correctly but then it failed with the error message found here:

http://forum.springframework.org/showthread.php?t=55001

Turns out that I made a mistake (yes, rather dumb of me) but the error message didn't lead me to my problem. It kept telling me I couldn't find the property editor when it really could, it just didn't get the value it wanted.


Affects: 2.0.8, 2.5.4

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions