[jboss-jira] [JBoss JIRA] Updated: (JBMAN-50) DefaultMetaValueFactory.createCompositeValue does not handle write-only properties correctly

Scott M Stark (JIRA) jira-events at lists.jboss.org
Tue Feb 10 12:55:44 EST 2009


     [ https://jira.jboss.org/jira/browse/JBMAN-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott M Stark updated JBMAN-50:
-------------------------------

    Fix Version/s: JBossMan.2.1.0.CR1


> DefaultMetaValueFactory.createCompositeValue does not handle write-only properties correctly
> --------------------------------------------------------------------------------------------
>
>                 Key: JBMAN-50
>                 URL: https://jira.jboss.org/jira/browse/JBMAN-50
>             Project: JBoss Managed
>          Issue Type: Bug
>          Components: metavalue
>    Affects Versions: JBossMan.2.0.0.GA
>            Reporter: Scott M Stark
>             Fix For: JBossMan.2.1.0.CR1
>
>
> DefaultMetaValueFactory.createCompositeValue does not check whether properties are readable before attempting to access them. For example, creating a value for the following type:
> MutableCompositeMetaType{org.jboss.beans.metadata.plugins.AbstractPropertyMetaData items=[name=annotations type=java.util.Set], [name=children type=java.util.Iterator], [name=classShortName type=java.lang.String], [name=description type=java.lang.String], [name=name type=java.lang.String], [name=preInstantiate type=java.lang.Boolean], [name=propertyReplace type=java.lang.Boolean], [name=propertyTrim type=java.lang.Boolean], [name=propertyType type=java.lang.String], [name=type type=java.lang.String], [name=value type=org.jboss.beans.metadata.spi.ValueMetaData], [name=valueObject type=java.lang.Object], [name=valueString type=java.lang.String]}
> fails because property "propertyReplace" of org.jboss.beans.metadata.plugins.AbstractPropertyMetaData is not readable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list