Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-336

Configuration templates do not work with custom configurations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3-incubating
    • 0.4-incubating
    • Extensions
    • None

    Description

       Scenario

      I'm building a configuration template from an interface, passing a custom configuration as a parameter. This configuration differs from the default configuration obtained by ConfigurationProvider.getConfiguration().

      AppConfiguration appConfig = ConfigurationInjection.getConfigurationInjector()
                  .createTemplate(AppConfiguration.class, customConfiguration);
      

      Expected Behaviour

      appConfig returns values from the customConfiguration.

      Actual Behaviour

      appConfig returns values from the default configuration.

      Attachments

        Activity

          People

            anatole Anatole Tresch
            hwellmann Harald Wellmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: