Support Article
Text containing apostrophe symbols displayed incorrectly
SA-70194
Summary
Pega 7.1.8 is updated to Pega 7.3.1.
Post update, special characters replace the apostrophe symbols in field value text.Error Messages
Not Applicable
Steps to Reproduce
- Create field values with apostrophe symbols in Pega 7.1.8.
- Install a Product Rule in Pega 7.3.1.
- Open the field values.
Root Cause
A software use or operation error.
The field values were corrupted during the update process.
Resolution
Perform the following local-change:
Execute the below activity to correct the corrupted values.
- Perform an Obj-Browse on the Step page and pass the ObjClass as Rule-Obj-FieldValue. Search for values containing ''' from the Pega Ruleset.
- Add a loop as 'For each embedded page' of the 'Rule-Obj-FieldValue' class on the step page's result page.
- Add Java code as below where the special characters are replaced by " ' ".
ClipboardPage stepPage = tools.getStepPage();
String localizedValue = stepPage.getString(“pyLocalizedValue”);
stepPage.putString(“pyLocalizedValue”, localizedValue.replaceAll(“'”, “’”));
- Commit the changes.
- Backup the database.
- Unlock the ruleset which has these field values.
- Run the activity.
Published March 24, 2019 - 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.