Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error trying to evaluate L:clipboardViewerUpdate

SA-35269

Summary



User has a requirement to provide Clipboard edit option to restricted users in Production while the same access should be available for all other environments.The clipboardViewer and clipboardViewerUpdate privileges were added to the Access of Role to Object.

The clipboardViewer privilege is set to '5'.
The clipboardViewerUpdate privilege is set to use the literal L:clipboardViewerUpdate.

At run time, an error occurs when the user tries to access the Clipboard.


Error Messages



Caused by: com.pega.pegarules.pub.runtime.IndeterminateConditionalException: Trying to evaluate Rule-Access-When conditions L:clipboardViewerUpdate when there is no page to evaluate them against
at com.pega.pegarules.exec.internal.basic.dictionary.AccessInfoConclusion.evaluateConditions(AccessInfoConclusion.java:767)
at com.pega.pegarules.exec.internal.basic.dictionary.AccessInfoConclusion.evaluate(AccessInfoConclusion.java:740)
at com.pega.pegarules.session.internal.authorization.access.AccessEvaluator.havePrivilege(AccessEvaluator.java:622)
at com.pega.pegarules.session.internal.authorization.access.AccessEvaluator.havePrivilege(AccessEvaluator.java:315)
at com.pega.pegarules.session.internal.authorization.Authorization.havePrivilege(Authorization.java:1669)
at com.pegarules.generated.html.ra_stream_webwbclipboardrightframe_top_f3ba7651020307559ffd3294f46466bc.execute(ra_stream_webwbclipboardrightframe_top_f3ba7651020307559ffd3294f46466bc.java:139)


Steps to Reproduce

  1. Create a clipboardViewerUpdate Access When rule.
  2. Configure an Access to Role Object rule to use L:clipboardViewerUpdate for the clipboardViewerUpdate privilege.
  3. Try to access the Clipboard.


Root Cause



A defect in Pegasystems’ code or rules. The WebWBClipboardRightFrame_Top HTML rule was passing null for the Clipboard page (last parameter) when calling the havePrivilege() method.

Resolution



Apply HFix-33067.

Suggest Edit

Published March 26, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us