]
Scott M Stark updated JBMAN-50:
-------------------------------
Fix Version/s: JBossMan.2.0.1.GA
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.0.1.GA, 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: