After migrating to the private cloud, all carriage return characters are being deleted in custom javascript code. In one script this resulted in the script changing from 3232 bytes to 3017 bytes and code is no longer executing. Can someone help me?
Romain, there is a defect filed for that but it has not been fixed yet.
Could you tell me the steps you followed to migrate to the private cloud? (e.g. using a backup, exporting an application XML, etc.)
We spoke Greg last night. Will have an update on a few fronts shortly.
Hello,
We've had this issue years ago when we went from Hosted Cloud to Private Cloud.
Sad to see that it still hasn't been fixed.
Our triggers were not running anymore or were throwing errors because of one line comments "// a one line comment" that would comment the entire trigger / formula up to the end.
We spent one entire day fixing those triggers by adding carriage returns back again.
Which is why we are now avoiding one line comments "//" but instead prefer commenting like so "/* my comment */".
Romain.
Romain, there is a defect filed for that but it has not been fixed yet.