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

Application Validation for Skin Rule Inaccurate

SA-30321

Summary



The user Application contains more than 50 instances of the Skin rule, and the instance in user's application-context is outside of the top 50, therefore the error is being thrown that it cannot find the referenced skin rule, which is inaccurate. An appropriate version of the skin should be picked up and the Application rule should be properly save.

Error Messages



Skin: xyzSkin is not available in the application.


Steps to Reproduce

  1. Create 50+ versions of skin and refer any of the skin which is not available in the top 50 versions of skin rule.
  2. Save the application rule form.

Root Cause



In Step 14 of the Validate Activity in the Rule-Application Class, it appears the List method in Line 21 of the Java is restricting the results from the DB to 50. The user Application contains more than 50 instances of the Skin rule, and the instance in the user's application-context is outside of the top 50, therefore the error is being thrown that it cannot find the referenced skin rule, which is inaccurate.

This issue is fixed in 7.1.8 and so porting back those changes to 7.1.6.

Resolution



Apply HFix-30406

Suggest Edit

Published February 4, 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