sergio-misa-imatia opened a new issue, #25871:
URL: https://github.com/apache/superset/issues/25871

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Create a deck.gl Scatterplot chart
   2. Edit Javascript Tooltip Generator. Simple example:  d => 
`<div>Hello</div>`
   3. Hover dot in map
   4. See error
   
   ### Expected results
   
   An tooltip should appear displaying the text 'Hello'.
   
   ### Actual results
   
   Error inesperado
   Ocurrió un error al crear la visualización: Error: Minified React error #31; 
visit 
https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=EvalError%3A%20Refused%20to%20evaluate%20a%20string%20as%20JavaScript%20because%20'unsafe-eval'%20is%20not%20an%20allowed%20source%20of%20script%20in%20the%20following%20Content%20Security%20Policy%20directive%3A%20%22script-src%20'self'%20'strict-dynamic'%20'nonce-7YhSVYVgXPwTb47yYC7dn0ioWx2nmvJv'%22.%0A&args[]=
 for the full message or use the non-minified dev environment for full errors 
and additional helpful warnings.
   
   
   If I use the Google Content-Security-Policy extension, this error does not 
occur, and the tooltip is displayed correctly, but I need a solution that 
doesn't involve using the Google extension.
   
   #### Screenshots
   
   
![image](https://github.com/apache/superset/assets/140070140/6059d189-f01d-48f0-a795-3fc86618da08)
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version:
   - superset version: 3.0.1
   - python version: 2.7.16`
   - node.js version: v16.19.0
   - any feature flags active: FEATURE_FLAGS = {"ALERT_REPORTS": True, 
"ENABLE_JAVASCRIPT_CONTROLS":True, "DASHBOARD_RBAC":True}
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to