You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/11/04 09:07:17 UTC
[jira] Resolved: (BEANUTILS-30) [beanutils] Improve message for
"Unknown property"
[ http://issues.apache.org/jira/browse/BEANUTILS-30?page=all ]
Henri Yandell resolved BEANUTILS-30.
------------------------------------
Resolution: Fixed
svn ci -m "Applying improved messages for unknown properties in setSimpleProperty and getSimpleProperty to resolve issue #BEANUTILS-30"
Sending src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
Sending src/test/org/apache/commons/beanutils/DynaPropertyUtilsTestCase.java
Sending src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java
Transmitting file data ...
Committed revision 471138.
> [beanutils] Improve message for "Unknown property"
> --------------------------------------------------
>
> Key: BEANUTILS-30
> URL: http://issues.apache.org/jira/browse/BEANUTILS-30
> Project: Commons BeanUtils
> Issue Type: Bug
> Affects Versions: 1.6
> Environment: Operating System: other
> Platform: Other
> Reporter: Barry Kaplan
> Fix For: 1.8.0
>
>
> When PropertyUtilsBean attempts to set/get a property it throws an exception
> with the following message:
> Caused by: java.lang.NoSuchMethodException: Unknown property 'name'
> at
> org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1741)
> at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:577)
> at
> com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:558)
> Its nice to know the name of the property, but it would be even nicer to know
> the class.
> (Yes, this is also a problem with the calling code, JSF FI in this case, which
> even knows instance and bean name, yet chooses to leave tha a secret.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org