Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
In some case the generated sling configuration files is wrong.
To reproduce the bug:
prepare a handelbar template
com.example.ServiceConfiguration {{#if bar}} bar="{{bar}}"{{/if}} {{#if foo}} foo="{{foo}}"{{/if}}define only the configuration "foo" in the environment and "bar" not.
config: foo: "foo"Expectation: a sling configuration file is generated:
com.example.ServiceConfiguration.config
foo="foo"Actual: 2 configuration files are generated.
com.example.ServiceConfiguration.config (the file is empty)
foo="foo".config (the file is empty)