Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

\u in pyLabel causes JavaScript error and screen is unresponsive



Adding \u in the pyLabel field of a work object causes a JavaScript error and part of the UI turns unresponsive.

Error Messages

Uncaught SyntaxError: Invalid Unicode escape sequence
at JSONToValues (pzevalharnessjson_12057459600.js!clientlogbase_11632504602.js!pzpega_ui_lib…!pzpega_ui_jstree_1221119030!pzpega_ui_inspector_bundle_11887904729!!.js:1)
at processDynamicData (pzevalharnessjson_12057459600.js!clientlogbase_11632504602.js!pzpega_ui_lib…!pzpega_ui_jstree_1221119030!pzpega_ui_inspector_bundle_11887904729!!.js:1)
at evaluateJSONVariables (pzevalharnessjson_12057459600.js!clientlogbase_11632504602.js!pzpega_ui_lib…!pzpega_ui_jstree_1221119030!pzpega_ui_inspector_bundle_11887904729!!.js:1)
at pzevalharnessjson_12057459600.js!clientlogbase_11632504602.js!pzpega_ui_lib…!pzpega_ui_jstree_1221119030!pzpega_ui_inspector_bundle_11887904729!!.js:1

Steps to Reproduce

  1. In PegaSample class, create a General task
  2. Input a subject that contains \u
  3. Take any action on the work object
  4. Observe that the work object turns unresponsive and the browser's console in Developer Tools will have several "Invalid Unicode escape sequence" related errors.

Root Cause

A defect in Pegasystems’ code related to JavaScript function - JSONToValues.


Apply HFix-33233
Suggest Edit

Published April 24, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us