Support Article

Field level auditing creates two extra entries for page lists

SA-28534

Summary



The audit history shows two extra "TrackSecurityChange_Change" entries for page lists, whereas only a single "TrackSecurityChange_Add" entry and single "TrackSecurityChange_Remove" entry should be present. The issue occurs when a new entry is added to a page list and an existing entry is deleted at the same time. The issue doesn't occur if the additions and deletions are performed separately.

Error Messages



Not Applicable

Steps to Reproduce

  1. Create PageListName (page list) and PropertyName (text property).
  2. Enable field level auditing on .PageListName(1).PropertyName.
  3. Have a repeat grid connected to the page list.
  4. Add four entries to the page list: A, B, C, D.
  5. Click Save.
  6. Add one new entry: E.
  7. Remove one existing entry: B.
  8. Click Save.

Root Cause



A defect in Pegasystems’ code or rules.

The audit history should show:

TrackSecurityChange_Add E
TrackSecurityChange_Remove B

However, the audit history actually shows:

TrackSecurityChange_Add E
TrackSecurityChange_Remove B
TrackSecurityChange_Change E D
TrackSecurityChange_Change D E

Resolution



Apply HFIX-29487.

Published September 27, 2016 - Updated October 15, 2016

Have a question? Get answers now.

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