[solved] Issue with invalid Json when loading DSPF after upgrading from v6-1.0 to v6-18.0

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
CAPL_INFO
Profound User
Posts: 38
Joined: Wed Jul 19, 2017 4:54 am
First Name: Nadine
Last Name: Gauthier
Company Name: CAPL
Country: France
Contact:

[solved] Issue with invalid Json when loading DSPF after upgrading from v6-1.0 to v6-18.0

Post by CAPL_INFO »

Hi all
Just wanted to let you know about this issue we ran into upgrading our PUI.
After the upgrade, opening some of our DSPFs showed an "invalid json" message.
We tracked down the problem to some javascript code in an onClick event that was using

Code: Select all

str.replace
to remove occurrences of the "group separator" character (ascii dec #29) that was specified literally in the code. We solved this problem by loading the files onto the PUI instance of another partition that was running the old version, and replacing instances of that char with the

Code: Select all

\x1D
hexadecimal code representation of the character, before moving the updated file back to the partition with the new version.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest