Ar-designer giving 'unsafe-eval' error

Posted by: ewan.johnstone on 21 May 2023, 9:53 pm EST

  • Posted 21 May 2023, 9:53 pm EST

    Hi,

    I’m using active reports designer 17.0.0.

    When I create a designer, I get the following error:

    [Report Only] Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: "script-src ‘self’ ’ at web-designer.js:2

    I see there is a similar issue with the viewer to do with the printer button but this seems to be a separate issue.

    Do you have any insight as to what could be causing the issue and if there is some way of getting rid of this error, aside from allowing unsafe-eval?

  • Posted 22 May 2023, 9:13 pm EST

    Hi Ewan,

    Please share a sample application reproducing this issue so we can test this behavior at our end and get back to you accordingly. As this might just be a bug and to fix this behavior we will require a simplified runnable sample reproducing the issue to share it with development team.

    Also, Please provide us the browser details such as the Browser name and version where the issue is replicable.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels