ERROR: Generic JavaScript View (JavaScript) (legacy)

Sorry, a problem occurred:(See less)

Node: 2:0:33:0:29 **Message:**Error in script SyntaxError: Unexpected token ‘&’

Locally all is running proper.
Server version 4.18.1

-Djs.core.sanitize.sanitizeGenericJSView explizit false is set in Tomcat and in knime.ini
Both did not help.

Can you please provide more information about the error?
Based on the description the issue seems similar to this, I would recommend checking the solution suggested there:

@BenceKeseru as described we tried to set this in our server config and tomcat config.
Still same behavior. Seems we cannot override the attribute correct, or it is unable to be disabled.

Same error as in linked post.
Any other hints?

-Djs.core.sanitize.clientHTML=false → This will turn off sanitisation in general
-Djs.core.sanitize.sanitizeGenericJSView=false → This will only turn it off for the Generic JS View

What is the “Sanitize input data” setting in the Generic JavaScript View node? If -Djs.core.sanitize.sanitizeGenericJSView is set to false explicitly then the value of the checkbox is taken into account again.

@BenceKeseru thanks for helping out.
Still same behavior with error:

Hi @hannesmergler ,

This looks like for some reason the HTML is still being sanitized. I have created a data app for debugging. It retrieves the current values of the two system properties and shows them in the browser. Can you run this data app in your new Server installation and see what it outputs?

Kind regards,

Alexander

Sanitization.knwf (76.4 KB)