[
https://issues.apache.org/jira/browse/TRB-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996356#comment-12996356
]
Georg Kallidis commented on TRB-77:
-----------------------------------
no, this issue seems to be resolved for the fulcrum-factory 1.0.5-SNAPSHOT and
the avalon-framework 4.3.1 dependency on the other side (version 1.0.5-SNAPSHOT
is the same as 1.0.4 minus MAVEN-1 dependencies as I see from the log messages).
> TurbineFactoryService : Calling SubsetConfiguration.getKeys(prefix) having a
> prefix with "." appended.
> --------------------------------------------------------------------------------------------------------
>
> Key: TRB-77
> URL: https://issues.apache.org/jira/browse/TRB-77
> Project: Turbine
> Issue Type: Bug
> Components: Turbine 2.3
> Affects Versions: Core 2.3.3
> Environment: Windows, JDK 1.6
> Reporter: Georg Kallidis
> Fix For: Core 2.3.3
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In org.apache.turbine.services.factory.TurbineFactoryService OBJECT_FACTORY
> is initilaizied with "factory.", i.e. with a dot at the end.
> In the org.apache.turbine.services.factory.TurbineFactoryService.init() what
> getConfiguration() returns is a
> org.apache.commons.configuration.SubsetConfiguration. Then
> org.apache.commons.configuration.Configuration.getKeys(OBJECT_FACTORY) is
> returning only null factories.
> This is due to the dot at the end of OBJECT_FACTORY.
> The solution is that no dot should be set for this method, cft.:
> https://issues.apache.org/jira/browse/CONFIGURATION-29.
> If not fixed, any factory call will return a new instance.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira