[
https://issues.jboss.org/browse/WFLY-2812?page=com.atlassian.jira.plugin....
]
Brian Stansberry commented on WFLY-2812:
----------------------------------------
Requires upgrade to jboss-metadata 8.0.0.Final
DefaultPropertyReplacer + PropertyResolver is broken for vault
expressions
--------------------------------------------------------------------------
Key: WFLY-2812
URL:
https://issues.jboss.org/browse/WFLY-2812
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EE
Affects Versions: 8.0.0.CR1
Reporter: Chris Dolphy
Assignee: Brian Stansberry
Fix For: 8.0.0.Final
Attachments: helloworld-mdb.tgz
The DefaultPropertyReplacer + PropertyResolver algorithm is broken for vault expressions.
It's based on the assumption that the contents of the expression string between
"$
{" and "}
" have a fixed format a la the old JBoss AS system properties (e.g. propertyname[:
default value]) and then the PropertyResolver tries to resolve "propertyname".
This is incorrect in the case of vault expressions, which do not follow this format. In
particular the ":" char appears multiple places in a vault expression and does
not serve as a delimiter between "propertyname" and "default value".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira