Support Article
RuleExecutionDenied XTEXTINPUT PXTEXTINPUT
SA-40038
Summary
RuleExecutionDenied error when reloading the portal, referring to Rule-HTML-Property:PXTEXTINPUT.XTEXTINPUT when setting an access group to Deny mode.
Error Messages
RuleSecurityModeDeny:RuleExecutionDenied XTEXTINPUT PXTEXTINPUT Rule-HTML-Property:PXTEXTINPUT.XTEXTINPUT Pega-Gadgets 07-10-15
InsufficientPrivileges:RuleExecutionDenied: RULE-HTML-PROPERTY PXTEXTINPUT
com.pega.pegarules.pub.PRRuntimeException: InsufficientPrivileges:RuleExecutionDenied RULE-HTML-PROPERTY PXTEXTINPUT
Steps to Reproduce
1. Set access group to Deny.
2. Include a portal with a menu item in it that calls the standard action Cancel and refreshes the section.
Root Cause
A defect in Pegasystems’ code or rules
While executing data transfrom Data-Portal.pyDefault observe step 37, DT is calling getLocalizedText ruf for field value pyCaption:UrgentWork for, which in turn evaluates the formatted value for property pyUrgentWorkHeader.
And this property pyUrgentWorkHeader has UI control pxTextInput defined on it, which eventually results in executing the stream pxTextInput and engine checks whether this has implicit privilege or not by forming invalid rule trace information.
Controls does not belong to any appliesToClass, so the pzinskey of any control is not well formed unlike for any other rules that causes invalid rule being checked against implicit privilege stuff.
Resolution
Perform the following local-change steps:
- Remove formatting on pyUrgentWorkHeader property by overriding this property in this application ruleset.
- Change field value Data-Portal Urgent Work for pyCaption no to reference pyUrgentWorkHeader by overriding the field value.
Published December 21, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.