]
Brian Stansberry moved WFLY-12196 to WFCORE-4530:
-------------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-4530 (was: WFLY-12196)
Component/s: Management
(was: Management)
Affects Version/s: (was: 17.0.0.Final)
resolve property in deployment enabled attribute value
------------------------------------------------------
Key: WFCORE-4530
URL:
https://issues.jboss.org/browse/WFCORE-4530
Project: WildFly Core
Issue Type: Enhancement
Components: Management
Reporter: David Klika
Assignee: Brian Stansberry
Priority: Major
I have defined a deployment (standalone mode) with enabled attribute value referencing to
a property like this: enabled="${app1.enabled}". This case is not supported at
least by the configuration validator:
OPVDX001: Validation error in standalone.xml -----------------------------------
| The primary underlying error message was:
| > ParseError at [row,col]:[377,5]
| > Message: "WFLYCTL0097: Wrong type for 'enabled'. Expected [BOOLEAN]
| > but was STRING. Couldn't convert \"${app1.enabled}\" to
| > [BOOLEAN]"
The same problem is in domain mode with enabled property on server group deployment
definition.