Notifications

29 views

Symptoms


While clicking on "Preview Notification" after creating a notification, the notification preview shows nothing. And if you open the console, it shows the following error:

Uncaught SyntaxError: Unexpected identifier
at eval (<anonymous>)
at evalScript (VM874 js_includes_doctype.jsx:84)
at GlideModal._evalScripts (VM1024 js_includes_last_doctype.jsx:7065)
at GlideModal._renderFromAjax (VM1024 js_includes_last_doctype.jsx:6877)
at e._responseReceived (VM874 js_includes_doctype.jsx:11957)
at e._processReqChange (VM874 js_includes_doctype.jsx:11815)

Notification Preview

Release


Jakarta and later

Cause


The reason for this is because the special characters in the preview record have not been escaped because the customer has set the "glide.ui.escape_all_script" property to be "false".

Resolution


There are two workarounds available for the customer:

1. Set the property "glide.ui.escape_all_script" value to be true

OR

2. Remove the special characters from the records of the corresponding table 

 

Article Information

Last Updated:2019-05-21 11:52:43
Published:2019-02-21