[jboss-jira] [JBoss JIRA] (JBMETA-373) [backport JBMETA-371] DefaultPropertyReplacer + PropertyResolver is broken for vault expressions

Brian Stansberry (JIRA) issues at jboss.org
Fri Sep 5 11:42:02 EDT 2014


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

Brian Stansberry resolved JBMETA-373.
-------------------------------------
    Fix Version/s: 7.0.9.Final
       Resolution: Done


> [backport JBMETA-371] DefaultPropertyReplacer + PropertyResolver is broken for vault expressions
> ------------------------------------------------------------------------------------------------
>
>                 Key: JBMETA-373
>                 URL: https://issues.jboss.org/browse/JBMETA-373
>             Project: JBoss Metadata
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 7.0.4.Final
>            Reporter: Chris Dolphy
>            Assignee: Brian Stansberry
>             Fix For: 7.0.9.Final
>
>
> 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 was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list