The update preview would truncate update sets where a script record contained the XML character data character sequence ]]>.
The update set truncated all data after the ]]> character sequence.
There are two alternative workarounds for this issue.
1 - Alter your script changing:
“<![CDATA[" + foo + "]]>"
“<![CDATA[" + foo + “]” + “]>”
2 - Manually export the script record containing the XML character data sequence and import it in the target instance.
Related Problem: PRB589013