[jira] Resolved: (JCS-53) Programmatic configuration does not correctly read inherited Properties
"Aaron Smuts (JIRA)" <[email protected]> Thu, 23 Jul 2009 12:14:15 -0700 (PDT)
| Newsgroups | gmane.comp.jakarta.turbine.jcs.devel |
|---|---|
| Message-ID | <1532058954.1248376455020.JavaMail.jira@brutus> |
[ https://issues.apache.org/jira/browse/JCS-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Smuts resolved JCS-53.
----------------------------
Resolution: Fixed
Fixed in 1.3.3.3.
> Programmatic configuration does not correctly read inherited Properties
> -----------------------------------------------------------------------
>
> Key: JCS-53
> URL: https://issues.apache.org/jira/browse/JCS-53
> Project: JCS
> Issue Type: Bug
> Components: Composite Cache
> Affects Versions: jcs-1.3
> Reporter: Phillip Liu
> Assignee: Aaron Smuts
> Fix For: jcs-1.3
>
>
> When calling ConfigureCacheManager.configure(properties, false) with a Properties instance containing defaults, the defaults are not correctly read. The problem is in PropertySetter.java:135
> for ( Enumeration e = properties.keys(); e.hasMoreElements(); )
> ...
> Instead of calling properties.keys(), it should be calling properties.propertyNames(). The call to propertyNames() correctly refer to configured defaults, and keys() does not. This should be a simple fix, how does one create a patch?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.