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
- Run the Preflight-Optimization feature to compress the CSS or JavaScript size.
- 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.
- Add the 'Rule-Shortcut' class and the 'pyRecentReportsWidgetRow' section in the Additional Rules of the Optimization configuration.
- Rerun the optimization.
Published May 7, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.