Applies to
- Liquibase Enterprise (Datical DB)
Issue Summary
When attempting to make post-deployment modifications via the command hammer
modifyChangeSet and using the same values for both --modifyLabels and --searchLabels options, changes are not applied to the changesets with matching search criteria.
Error Message
Applying [action] modifications for [x] changeSets/includes matching the search criteria ...
0 out of [x] changeSets/includes matching the search criteria modified!
Root Cause
If a value used for --modifyLabels is the same as the search criteria for --searchLabels options, the modification fails as the program cannot modify the previously applied label that is being used as search criteria.
Resolution
Reevaluate command options so that the value used for --searchLabels does not match a value used for --modifyLabels when using hammer modifyChangeSet.
hammer modifyChangeSet --action=ADD --modifyLabels="new-label" --searchLabels="old-label"
Comments
0 comments
Article is closed for comments.