[jboss-jira] [JBoss JIRA] (WFCORE-1581) AttributeDefinition.convertToExpectedType can convert LIST of PROPERTY to OBJECT

Brian Stansberry (JIRA) issues at jboss.org
Fri Aug 12 11:24:00 EDT 2016


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

Brian Stansberry updated WFCORE-1581:
-------------------------------------
    Description: 
It's valid for callers to pass a param of ModelType.LIST with elements of type PROPERTY for use in attributes of type OBJECT. AttributeDefinition.convertToExpectedType can deal with this, thus avoiding storing an attribute value with a "usable" but not "per specification" type.

JBEAP-4767 shows an example case where this kind of value is passed as a param.

  was:
It's valid for callers to pass a param of ModelType.LIST with elements of type PROPERTY for use in attributes of type OBJECT. AttributeDefinition.convertToExpectedType can deal with this, thus avoiding storing an attribute value with a "usable" but not "per specification" type.

JBEAP-4767 shows an example case where this can of value is passed as a param.



> AttributeDefinition.convertToExpectedType can convert LIST of PROPERTY to OBJECT
> --------------------------------------------------------------------------------
>
>                 Key: WFCORE-1581
>                 URL: https://issues.jboss.org/browse/WFCORE-1581
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>
> It's valid for callers to pass a param of ModelType.LIST with elements of type PROPERTY for use in attributes of type OBJECT. AttributeDefinition.convertToExpectedType can deal with this, thus avoiding storing an attribute value with a "usable" but not "per specification" type.
> JBEAP-4767 shows an example case where this kind of value is passed as a param.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list