Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

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.

Troubleshooting: PRPC 6.3 SP1 runs wrong rule or fails to see a new function after application enhancement (HFix-8760)

Updated on February 17, 2016

Application-Based Assembly cache issues can cause a variety of symptoms and incorrect results in your PRPC 6.3 SP1 application if you have not installed HFix-8760 and its additional related hotfixes. The DL file that you receive after downloading HFix-8760 from Hotfix Self-Service lists the primary hotfixes you selected and the additional related hotfixes that are included in the primary hotfixes.

HFix-8760 and additional related hotfixes

HFix-8760: PRPC fails to run updated rules, functions missing

Application-Based Assembly caching issues prevent the updated version of a rule from being processed when running a flow. You have checked out the rule, modified it, and checked it back in, but the older version of the rule is processed.

This occurs sporadically for a variety of rule types (paragraph, section, data transform, activity, functions). The currently saved rule is in a class that is higher than the entry's owning class under current class hierarchy, but lower than the entry's owning class under the class hierarchy when the entry is assembled. Invalidation checks only from the entry's owning class down to the @baseclass; therefore, rules are missed.

The hotfix updates the invalidation query to cover the reversed class hierarchy case and includes database query hints to optimize performance. Updates to cacheConfigId eliminate the need to truncate the Application-Based Assembly cache tables after installing the hotfix.

Priority: High – all users should install this hotfix.

Additional related hotfixes

  • HFix-7804
  • HFix-7271
  • HFix-6904 – Replaced by HFix-7271
  • HFix-6573 – Replaced by HFix-7271
  • HFix-6399 – Replaced by HFix-7271
  • HFix-8530 – Diagnostic Hotfix
  • HFix-8664 – Diagnostic Hotfix
  • HFix-8546
  • HFix-8471
  • HFix-8440 – Diagnostic Hotfix
  • HFix-7125
  • HFix-7038
  • HFix-6554 –  Diagnostic Hotfix
  • HFix-6646
  • HFix-6621 – Replaced by HFix-6646
  • HFix-6861 – Replaced by HFix-7038

Issues corrected

This table lists and describes the primary hotfix you selected (HFix-8760) and the additional related hotfixes that it includes. Some of the additional related hotfixes require you to perform post-installation steps, most notably HFix-7038.

HFix ID

Summary

Issues Corrected

HFix-8760

PRPC fails to run updated rules, functions missing

Application-Based Assembly caching issues are preventing the updated version of a rule from being processed when running a flow. This occurs sporadically for a variety of rule types (paragraph, section, data transform, activity, functions).

The hotfix updates the invalidation query and includes database query hints to optimize performance. Updates to cacheConfigId eliminate the need to truncate the Application-Based Assembly cache tables after installing the hotfix.

HFix-7804

Implicit privileges not applied to called activities

Implicit privileges, now called generated privileges, are not applied to called activities when the calling activity has access granted.

For example, Activity1 calls Activity2, but neither activity has an explicit privilege defined. A user has a generated privilege to Activity1 but NOT for Activity 2. As a result of running Activity1, both Activity1 and Activity2 process without error. This is incorrect.

The expected result would be a security error warning that the "user does not have privileges to run Activity2". This security vulnerability particularly applies to PRPC standard activities such as doUIAction and ACDataSourceDriver, which invoke other activities whose names are passed as parameters. These driver activities may be used to call other activities, bypassing security checks for implicit/generated privileges.

Post-installation: In prconfig.xml, set assembly/activity/rewriteJava/pmd/rule/DetectDispatch to true.

HFix-7271

Replaces HFix-6399, HFix-6573, HFix-6615, HFix-6904

No RUF code generated, No functions displayed, DSM FUA exception

No code is generated for rules invoking Rule Utility Functions when function call expressions contain the syntax @. Functions are not displayed if AutoComplete is selected in the Validation Conditions dialog. DSMEdition-DSM rule types on FUA throw a constraint violation exception on PR_SYS_APPCACHE_DEP_PK after DSM Edition RAP is imported.

The hotfix corrects the causes of all issues, including a regression in the Expression parser that causes rules to fail when function call expressions contain the syntax @.

Post-installation: Delete the file PegaRULES_Extract_Marker.txt prior to restarting the application server. This will prevent a Fail ** @(Pega-RULES:DecisionTable).ObtainValue(tools, primary, pyTaggedDataInstances) 4 when you try to log in.

HFix-8530

Diagnostic HFix
IsInPageList function is not working properly

Diagnostic HFix,not available on Hotfix Self-Service
When you run a WHEN rule with the IsInPageList function you get a ** No code generated for expression error for some cases.

HFix-8664

Diagnostic HFix Updated Rules are not getting Picked Up by System

Diagnostic HFix,not available on Hotfix Self-Service
The updated version of a rule is not processed when running a flow. This occurs sporadically for a variety of rule types (paragraph, section, data transform, activity).

HFix-8546

After check-in of section, old copy still used

The section rule is saved to a new ruleset version, checked out, modified, and checked in. When you run the application, the section modifications don't show up.

HFix-8471

Rule Resolution fails - not picking checked-out rules

Wrong rules are processed in contexts where PRPC should be using checked-out rules in the personal ruleset. You check out and modify a rule, but when you run the flow, you cannot see your changes because the system still runs the rule instance in the ruleset.

HFix-8440

Diagnostic HFix
After check-in of section, old copy still used

Diagnostic HFix, not available on Hotfix Self-Service
The section rule is saved to a new ruleset version, checked out, modified, and checked in. When you run the application, the section modifications don't show up.

HFix-7125

System hangs: Blocked threads on SQL Server 2008 R2

Troubleshooting: PRPC 6.3 SP1 Application-Based Assembly performance and timeout issues with SQL Server (HFix-7125)

HFix-7038

Replaces HFix-6861

IMPORTANT:
If HFix-7038 is NOT already installed, you must follow the installation procedure given in the first article cited here.

Troubleshooting: PRPC 6.3 SP1 cached rules not the same across multiple JVMs (HFix-7038)

Troubleshooting: After PRPC 6.3 SP1 upgrade, portal styles are lost and application screens are not usable (HFix-6646, HFix-7038)

HFix-6554

Diagnostic HFix memory invalidation problems when importing new rules to PMF

Diagnostic HFix, not available on Hotfix Self-Service

HFix-6646

Replaces HFix-6621

Application-Base Assembly bug fixes and performance improvements

Troubleshooting: After PRPC 6.3 SP1 upgrade, portal styles are lost and application screens are not usable (HFix-6646, HFix-7038)

Suggested approach

To resolve the issues described in this article, follow these steps to install the hotfixes that provide the complete solution for PRPC 6.3 SP1:

  1. Download HFix-8760 from Hotfix Self-Service and install it using Update Manager.
  2. For the Additional Related Hotfixes HFix-7038, HFix-7804, and HFix-7271, complete the post-installation steps.
    Follow the detailed installation instructions for HFix-7038 in Troubleshooting: PRPC 6.3 SP1 cached rules not the same across multiple JVMs (HFix-7038).

Additional information

Working with the Rules Assembly Cache
What is the Update Manager utility?
Conclusion cache - definition
Understanding caching
How to use the Static Assembler utility to pre-assemble the rules in an application
Performance checklists

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us