Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtendedBeanInfo Passes Empty Property Name to PropertyDescriptor Causing IntrospectionException: bad property name [SPR-8175] #12826

Closed
spring-projects-issues opened this issue Apr 1, 2011 · 2 comments
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Apr 1, 2011

Rob Winch opened SPR-8175 and commented

When handling an ArrayList, the ExtendedBeanInfo Passes Emtpy Property Name to PropertyDescriptor Causing IntrospectionException: bad property name. This occurs in the latest development build of trunk and can be seen in the Greenhouse application. I have attached a patch that provides a junit and a fix.


Reference URL: http://forum.springsource.org/showthread.php?s=1c62fe0e73fde377348700ad8437a010&t=106697

Attachments:

Issue Links:

Referenced from: commits 0ee1256, 4a8be69, 158a392

2 votes, 1 watchers

@spring-projects-issues
Copy link
Collaborator Author

Chris Beams commented

Patch applied - thanks Rob!

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Nov 25, 2012

Chris Beams commented

A general note to watchers of ExtendedBeanInfo-related issues: #14663 is a major refactoring of ExtendedBeanInfo and overall support for non-void returning setter methods.

If you have submitted a reproduction project with this issue, we have run it through its paces against these new changes, but we would like to ask you to do the same against your actual applications.

Please consider updating your dev or test builds to work against 3.1.4.BUILD-SNAPSHOT and/or 3.2.0.BUILD-SNAPSHOT to verify, and we would appreciate any feedback, even if it's to let us know that all is well. So that we can consolidate feedback, please add your comments to #14663, and mention the original issue(s) that you were watching.

Thanks!

Note also that testing against 3.1.4 is preferable to 3.2.0 because ExtendedBeanInfo is always in the code path in the latter, while in 3.2.0 we've optimized things such that ExtendedBeanInfo is only in play for bean classes that have one or more non-void returning setter methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant