DB Change Utility replace_part clears script contents when replacement string not found
Article ID: 84425
CA Automic Workload Automation - Automation EngineAUTOMIC WORKLOAD AUTOMATION
Error Message : "U00021413 Replacements:"
When using the Database Change Utility, replace_part clears the content even when the command doesn't find the string. For example, if the replace_part command searches for a string in the script tab and doesn't find anything, the content of the script tab will be removed. See below example.
"REPLACE_PART *, *, SCRIPT, 'String that is not part of any line in the script', 'New Value.'"
If the string matches, the replace is done correctly. This is only an issue when the string does not match.
Cause type: Defect Root Cause: The DB Change utility deletes the unchanged script lines when using the AE DB Change Utility version 11.2.4+build.651
OS Version: N/A
Update to a fix version listed below or to a newer version if available.
Fix Status: Released
Fix Version(s): Automation Engine 12.1.0 - Available Automation Engine 12.0.2 - Available Automation Engine 11.2.5 - Available
Workaround : To avoid the data loss, use an older version of the DB Change Utility i e version 11.2.3.