Applies to:
- Liquibase Enterprise
Conditions:
- Liquibase Enterprise
- Any database
Issue Summary:
When attempting to package a script, an error message states that the stored logic script has undefined properties, which causes the Packager to fail.
Error Message:
ERROR deployPackagerNative - There are undefined properties in the stored logic script
Root Cause:
Liquibase Enterprise has property substitution functionality that specifically looks for the following syntax, ${var_name}.
If any script being packaged contains `${var_name}`, Liquibase will attempt to do a property substitution on it. If the property isn't defined as documented, it will cause the noted undefined properties error to occur.
Resolution:
To resolve this issue, do one of the following:
- Set disablePropertySubstitution=true in the metadata.properties file for the folder that has the script
- Remove/modify the script to not include ${var_name}
Related Article(s):
How to use changelog property substitution?
Using the metadata.properties file
Comments
0 comments
Article is closed for comments.