Affects: 2.5.4
Not all the properties are loaded when the bean is loaded based on the condition present in the configuration. Without the condition the values are loaded correctly.
```
@Bean
@ConditionalOnExpression("#{appProperties.approach2 eq false}")
public String approch2(AppProperties properties) {
System.out.println(properties.message); //prints null
System.out.println(properties.degree); //prints 0
return "";
}
application.message="some message"
application.degree=5
application.approach1=true
application.approach2=false