[ https://issues.apache.org/jira/browse/FC-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn McKinney updated FC-317: ------------------------------ Fix Version/s: 3.0.0 (was: 2.0.9) > Infinite loop in property interpolation > --------------------------------------- > > Key: FC-317 > URL: https://issues.apache.org/jira/browse/FC-317 > Project: FORTRESS > Issue Type: Improvement > Affects Versions: 2.0.8 > Reporter: Shawn McKinney > Assignee: Shawn McKinney > Priority: Minor > Fix For: 3.0.0 > > > This has been a problem with how fortress interpolates between the slapd and > build.properties files into fortress.properties. > The same value is used for both, e.g.: > ```fortress.properties.src > enable.ldap.ssl.debug=${enable.ldap.ssl.debug} > trust.store=${trust.store} > trust.store.password=${trust.store.password} > trust.store.onclasspath=${trust.store.onclasspath} > ``` > If when the ant task performs interpolation, it doesn't find a value to use > in the slapd or build.properties we get this error at runtime when the > commons configuration utility is used to read it: > ``` > java.lang.IllegalStateException: Infinite loop in property interpolation of > ${trust.store.onclasspath}: trust.store.onclasspath > ``` > So, if the user doesn't get the property set, it will cause this infinite > loop causing the program to terminate. > This improvement will ensure that the name of the property that ant uses to > interpolate differs from what's used by commons config -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org