Support Article

Incorrect behavior for privilege condition in repeat grid

SA-27569

Summary



The privilege option in the link control configuration was used as a condition to enable or disable the links in the repeat grid. But, the links are disabled or hidden even if the operator has the privilege.

Error Messages



Not Applicable

Steps to Reproduce

  1. Configure a column containing link in the repeat grid.
  2. Design the cell properties of the link to use the privilege option.

Root Cause



In pzGenerateLinkOrButton RUF, tools.getPrimaryPage() was passed to pega_rules_default.ValidatePrivileges function. Sometimes, primary page might be different from the page context on which current part of the section is rendered. For example, when a grid or repeating dynamic layout is present.

Resolution



Apply HFix-29234.

Published September 2, 2016 - Updated September 13, 2016

Have a question? Get answers now.

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