Shawn McKinney created FC-317:
---------------------------------

             Summary: 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
             Fix For: 2.0.9


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to