[jboss-jira] [JBoss JIRA] (WFLY-205) AttributeDefinition validateOperation should convert all expression strings to ModelType.EXPRESSION
Brian Stansberry (JIRA)
issues at jboss.org
Thu Nov 6 12:40:30 EST 2014
[ https://issues.jboss.org/browse/WFLY-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry closed WFLY-205.
---------------------------------
Fix Version/s: (was: 9.0.0.Beta1)
Resolution: Won't Fix
I don't want to do this. I don't think the benefit of a better error report is worth the cost of disallowing all uses of a string that looks like an expression as the value in any attribute anyone may ever define.
> AttributeDefinition validateOperation should convert all expression strings to ModelType.EXPRESSION
> ---------------------------------------------------------------------------------------------------
>
> Key: WFLY-205
> URL: https://issues.jboss.org/browse/WFLY-205
> Project: WildFly
> Issue Type: Enhancement
> Components: Domain Management
> Reporter: Brian Stansberry
>
> AttributeDefinition.validateOperation currently only converts a string to an expression if the attribute supports expressions. It should convert any time it sees the syntax. This way if a STRING attribute that doesn't support expressions finds one, it will reject it instead of accepting it as a raw string.
> Scheduling for 7.3 out of concern this may break things in 7.2 without time to notice/adapt.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list