Support Article
Compare functionality in history tab does not work properly
SA-26436
Summary
The Compare functionality in the audit history of a rule does not display accurate information. Version history instances and all other properties are displayed with incorrect ruleset. Compare takes the wrong instance for comparison.
Error Messages
Not Applicable
Steps to Reproduce
- Open an activity.
- Navigate to the History tab.
- Open the history.
- Click View all version.
- Select any two versions to compare.
- Click Compare.
Root Cause
The keys of the selected rules must be passed to PegaAccel-Management-Refactor-RuleSet.pyLaunchDiff activity for comparison. But during runtime, the key of the next rule of the selected rule is passed in CompareRules() method of pzRuleDiffHistoryScripts rule.
Note: History snapshots always store the contents of the rule before check-in or save action.
Resolution
Apply HFix-27138.
Published August 8, 2016 - 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.