Hello Benjamin,

Thanks for doing the testing! I think I can see the relevant commit:

https://github.com/apache/karaf/commit/b398c7690a09b02ad0f900fa4d6f51308f5970aa


features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java

     protected Configuration createConfiguration(ConfigurationAdmin
configurationAdmin,
                                                  String pid, String
factoryPid) throws IOException, InvalidSyntaxException {
          if (factoryPid != null) {
 -            return configurationAdmin.createFactoryConfiguration(pid,
null);
 +            return
configurationAdmin.createFactoryConfiguration(factoryPid, null);
          } else {
              return configurationAdmin.getConfiguration(pid, null);
          }

If I understand the code in this file correctly, if I put this in my feature
file:

<config name="foo.bar-unencrypted">

the pid variable here is "foo.bar" and the factoryPid variable is
"unencrypted". Perhaps this change should be reverted?

thanks,
Gareth





--
View this message in context: 
http://karaf.922171.n3.nabble.com/Problems-With-Factory-Configurations-In-Karaf-3-0-1-tp4033921p4033949.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to