[jboss-jira] [JBoss JIRA] Commented: (JBAS-6203) "config-property" property on Local Datasource managed component returns incorrect MetaType

Scott M Stark (JIRA) jira-events at lists.jboss.org
Fri Nov 21 12:06:37 EST 2008


    [ https://jira.jboss.org/jira/browse/JBAS-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12439326#action_12439326 ] 

Scott M Stark commented on JBAS-6203:
-------------------------------------

It should be returning a MapCompositeValueSupport for the value as we did decide that a MapCompositeMetaType was easier than a collection of composite values to deal with. The type of the property in the metadata is annotated as MapCompositeMetaType, so we are not properly mapping that to a MapCompositeValueSupport value somewhere.


> "config-property" property on Local Datasource managed component returns incorrect MetaType
> -------------------------------------------------------------------------------------------
>
>                 Key: JBAS-6203
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6203
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: ProfileService
>            Reporter: Ian Springer
>            Assignee: Scott M Stark
>
> managedProperties.get("config-property").getValue() returns a CollectionValueSupport
> yet managedProperties.get("config-property").getMetaType() returns a MapCompositeMetaType. I'm pretty sure it should instead be returning a CollectionMetaType, which is the MetaType that corresponds to CollectionValue.

-- 
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