101 views

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

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-09-25 09:44:59
Published:2018-09-25