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

  1. Open an activity.
  2. Navigate to the History tab.
  3. Open the history.
  4. Click View all version.
  5. Select any two versions to compare.
  6. 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 4, 2016 - Updated August 8, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.