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

Rule Not Found when switching between portals

SA-16013

Summary



Rule Not Found exceptions are shown for PZHASSECONDARYPORTALS in  production logs. 
 


Error Messages



2015-08-25 23:20:22,489 [fault (self-tuning)'] [ STANDARD] [ your_ip_address] ( internal.mgmt.Executable) ERROR wwwxx-xxxxx|wwwxx-xxxx-xxx.xxxxo.com xxxxx - RuleNotFoundException;com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'PZHASSECONDARYPORTALS' that applies to '@baseclass'. There were 4 rules with this name in the rulebase, but none matched this request. The 4 rules named 'PZHASSECONDARYPORTALS' defined in the rulebase are:;4 related to applies-to class '@baseclass', but were defined on subclasses: {Rule-PortalSkin, Data-Portal, Pega-Portal-Developer}.;; a


Steps to Reproduce


Not reported with the case


Root Cause



PZHASSECONDARYPORTALS specifies a When condition used in pzOpenPortal menu. pzOpenPortal is present in Data-Portal. At run-time pyDisplayHarness is the primary page expected when pzOpenPortal menu is selected and while checking the When condition. The exception occurs when pyDisplayHarness is not passed as the primary page or when a different page or a page not in Data-Portal inheritance is not passed.

Resolution



In your application, ensure that pyDisplayHarness is the primary page passed when the pzOpenPortal menu is selected.


 

 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

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