Support Article
Revalidate and Save corrupts apostrophe/quote marks Field Values
SA-11007
Summary
In Field Values, non alphanumeric characters (for example, double quotes (")) get encoded when the rule is saved. They are subsequently displayed in their encoded form (for example, double quote (") is displayed as '&38;').
This did not happen prior to Pega 7.1.7. Up to Pega 7.1.6 the quotation marks were saved and subsequently displayed in their unencoded form.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a new Field Value.
2. Enter the localized text containing quotes and / or other special characters. (For example: This is a "Quote" Test).
3. Save and refresh the rule. The characters have been encoded. (For example: This is a &38;Quote&38; Test).
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules which resulted in a double encoding when performing validation upon saving of a Field Value.
Resolution
This issue is resolved by HFix-22332 which prevents the double encoding of new Field Values or existing ones open and saved within Pega 7.1.7 for the first time.
After installing the HFix-22332, if the Field Values already contain encoded values then manually replace them with quotes and resave the Field Values.
Published June 22, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.