Initialisation script does not run
In the initialisation part of the report, where we can add scripts - the script no longer runs. There are several reports this affects. It was working fine until last few weeks or so. Audit shows no changes were made to the report.
I have tried scheduling and running the report manually but the script is not running.
I have done a try/exception and the exception part does not run either.
I have copied across the code to a controller/widget on the customer portal and it runs without issue.
The code I am trying to get to work (this is not the full code but a very simple test case) which is failing.