[jboss-jira] [JBoss JIRA] (AS7-3857) Eliminate redundant config of nullable and allowExpression in AttributeDefinition

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Apr 3 10:42:48 EDT 2012


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

Brian Stansberry reassigned AS7-3857:
-------------------------------------

    Assignee: Brian Stansberry  (was: Kabir Khan)

    
> Eliminate redundant config of nullable and allowExpression in AttributeDefinition
> ---------------------------------------------------------------------------------
>
>                 Key: AS7-3857
>                 URL: https://issues.jboss.org/browse/AS7-3857
>             Project: Application Server 7
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 7.1.2.Final
>
>
> AttributeDefinition has configuration of "allowExpressions" and "nullable". It also takes a Validator. It's a common mistake that people configure the AD to allow expressions or null but forget to do the same with the validator. Make this easier.
> One possibility is to wrap the passed in validator with one that deals with expressions/nulls and delegates to the provided validator if not null and not an expression.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list