Page 1 of 1

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

Posted: Mon May 02, 2022 10:08 am
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.