Project: mulestudio
Issue STUDIO-4444: Studio should have smarter validation for property-placeholders
In spring to allow multiple property placeholders, you need to use the attribute *ignore-unresolvable*. If not you get an error that the placeholder variables cannot be found: {code} Test connection failed: Invalid bean definition with name 'MySQL_properties' defined in null: Could not resolve placeholder 'mysql.password' in string value "${mysql.password}" (org.mule.api.lifecycle.InitialisationException) org.mule.common.MuleArtifactFactoryException: Error initializing org.mule.config.spring.SpringXmlConfigurationMuleArtifactFactory.doGetArtifact(SpringXmlConfigurationMuleArtifactFactory.java:203) {code} This is because Spring won't look for another placeholder definition unless the attribute ignore-unresolvable is set. A proper configuration will be that all property-placeholders look like: {code} {code} Studio should add a Warning to a config file indicating that there are multiple propery placeholders and that ignore-unresolvable is not set to true.
Story points: 8