Compare functionality in history tab does not work properly
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.
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.
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.
Published August 4, 2016 - Updated August 8, 2016