Fatal error in AOR Reports dashlet #10353
Labels
Area: Reports
Issues & PRs related to all things regarding reports
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
When loading the dashboard containing an AOR Reports dashlet which is linked to a deleted report a fatal error is thrown.
PHP Fatal error: Uncaught Error: Attempt to assign property "user_parameters" on bool in xx/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php:44
Expected Behavior
The dashboard should load without issue.
Actual Behavior
The dashboard fails to load and the following error is thrown:
PHP Fatal error: Uncaught Error: Attempt to assign property "user_parameters" on bool in xx/modules/AOR_Reports/Dashlets/AORReportsDashlet/AORReportsDashlet.php:44
Possible Fix
Check report exists before trying to use it.
Steps to Reproduce
Context
High priority - Dashboard unusable
Your Environment
The text was updated successfully, but these errors were encountered: