[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 Feb 21 17:25:36 EST 2012


Brian Stansberry created AS7-3857:
-------------------------------------

             Summary: 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.1.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