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

Report links do not work after using Preflight-Optimization

SA-78549

Summary



After using the Preflight-Optimization feature (to optimize CSS and JavaScript), click events on report links do not work.


Error Messages



Not Applicable


Steps to Reproduce

  1. Run the Preflight-Optimization feature to compress the CSS or JavaScript size.
  2. Click the report links


Root Cause



The Preflight-Optimization uses a crawler to identify dependencies. Since the crawling occurs at design time, the crawler cannot determine the 'class' of the rule at design time for certain specific objects in the model. This is because, the 'class' of the model is set at runtime when the UI is rendered and the rule may resolve to a different rule than what is identified at design time.


Resolution



Perform the following local-change in the whitelist that is present in the Advanced tab of the Optimization configuration to specify the missing rules.
  1. Add the 'Rule-Shortcut' class and the 'pyRecentReportsWidgetRow' section in the Additional Rules of the Optimization configuration.
  2. Rerun the optimization.

Suggest Edit

Published May 7, 2019 - Updated December 2, 2021

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