35 views

Description

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
    > email_client.do?sysparm_table=incident&sysparm_sys_id=3d81170ddba983002fd876231f961954&sysparm_targ…: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.

Workaround

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

Kingston

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-10-02 10:35:51
Published:2017-10-02