Carriage returns missing in custom javascript

Posted by grosener@dmsi.com on 19-Apr-2014 10:19

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?

Posted by Laurent on 11-Jun-2014 09:36

Romain, there is a defect filed for that but it has not been fixed yet.

All Replies

Posted by Laurent on 22-Apr-2014 10:38

Could you tell me the steps you followed to migrate to the private cloud? (e.g. using a backup, exporting an application XML, etc.)

Posted by Tom Kincaid on 22-Apr-2014 10:55

We spoke Greg last night. Will have an update on a few fronts shortly.

Posted by romain.pennes@foederis.fr on 11-Jun-2014 08:34

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.

Posted by Laurent on 11-Jun-2014 09:36

Romain, there is a defect filed for that but it has not been fixed yet.

This thread is closed