When glide.ui.escape_all_script = false, email client fails to open because gs.getMessage('Compose Email') contains quotes ".

The Hebrew translation for the string "Compose Email" is: דוא"ל

The " character is not escaped, and therefore it is breaking the javascript on the email client page.

Steps to Reproduce

Set the sys_properties glide.ui.escape_all_script set to false

  1. Install Hebrew plugin
  2. Login in Hebrew language, Open an incident, and then open the email client.
  3. On the browser console it shows:

    >Uncaught SyntaxError: Unexpected identifier
    >…:697 Uncaught ReferenceError: renderEmailAddressTemplate is not defined

The code shows:> document.title = "חבר דוא"ל - " + document.title;

The javascript on the page fails to load and the emails are not sent.

The email client should be able to handle translated messages.


There are a couple workarounds:

  • Change translated messge חבר דוא"ל -  to כתוב מייל אלקטרוני
  • Set the glide.ui.escape_all_script = true which is recommended


Related Problem: PRB761136

Seen In

There is no data to report.

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:33:23