Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Errors when loading Mobile UI after creating glide.security.output.replacement.patterns property: "Cannot read property 'title_image_path' of undefined" - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Errors when loading Mobile UI after creating glide.security.output.replacement.patterns property: "Cannot read property 'title_image_path' of undefined"
KB0711978

Errors when loading Mobile UI after creating glide.security.output.replacement.patterns property: "Cannot read property 'title_image_path' of undefined"


693 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When the the glide.security.output.replacement.patterns property is created, glide.ui.escape_all_script is true and glide.ui.escape_text is true, Client side errors are triggered which prevent the mobile UI from loading.

Errors:
$m.do:1 Uncaught SyntaxError: Unexpected token $ in JSON at position 0
at JSON.parse (<anonymous>)
at $m.do:14

Uncaught TypeError: Cannot read property 'title_image_path' of undefined
at Object.$get (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:8)
at Object.invoke (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3)
at js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3
at r (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3)
at i (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3)
at Object.invoke (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3)
at Object.$get (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3)
at Object.invoke (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3)
at js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3
at r (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3)

Steps to Reproduce

  1. Create a new sys_properties record with the following information:
    1. Name: glide.security.output.replacement.patterns
    2. Type: string
    3. Value: \$*\{=\$⁠{,\$*\[=\$⁠[
  2. Set the value of the glide.ui.escape_all_script property to true.
  3. Set the value of the glide.ui.escape_text property to true.
  4. attempt to load the Mobile UI ($m.do) on the instance.

    This appears to be related to both PRB721245 and PRB958042.

Workaround

No workaround, but fixed in the following versions as part of the fix for PRB958042...

Kingston patch 8

Jakarta patch 6a hotfix 2

Jakarta patch 9 hotfix 2

Kingston patch 7

London patch 1

Jakarta patch 9 hotfix 7

Jakarta patch 9c

Kingston patch 6

Jakarta patch 7 hotfix 3

Jakarta patch 8c

 


Related Problem: PRB1058391

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.