My Oracle Support Banner

Failed To Publish Template That Has Space In Javascript Function Definition (Doc ID 2466720.1)

Last updated on MARCH 29, 2023

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

When performing a Realtime publish, it was observed that if the publish included a Template with the JSP code containing javascript with a function defined having a space, the publish would fail:

e.g.

<script>
...
$('example').click(function() {});
...

</script>

And the following errors were seen in the sites.log:


If the space were removed from the JSP javascript function, the publish succeeded:
e.g.

<script>
...
$('example').click(function(){});
...

</script>

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.