ZCM 10.3.2 will not save tags in bundle run script actions

  • 7008089
  • 09-Mar-2011
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3.2 Bundles
Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3.3 Bundles

Situation

After updating to ZCM 10.3.2 or 10.3.3 when creating or editing a script action for a bundle tags are not saved to the script.

In ZCM 10.3.1 or 11 you can enter and save the following script:

<script>
ping localhost
</script>

When the script is saved it will stay as entered above.

If you create or edit and save the same script in 10.3.2 or 10.3.3 it removes the tags and you only see the following:

ping localhost


Resolution

A workaround to this is to do the following:

1- On the ZCM server edit web.xml.
On Linux:
/opt/novell/zenworks/share/tomcat/webapps/zenworks/WEB-INF/web.xml
On Windows:
%ZENWORKS_HOME%\share\tomcat\webapps\zenworks\WEB-INF\web.xml

2- Search for CrossScriptingFilter it should be in one of the last lines.

3- Comment the whole filter and the filter-name of XSS by adding <!-- before and --> after the filter as shown below:

<!--    <filter>

                <filter-name>XSS</filter-name>
        <display-name>XSS</display-name>
        <description></description>
               
<filter-class>com.novell.zenworks.webservice.lib.CrossScriptingFilter</filter-class>
        </filter>
        <filter-mapping>
         <filter-name>XSS</filter-name>
         <url-pattern>/*</url-pattern>
        </filter-mapping>
-->


Status

Reported to Engineering

Additional Information

The upgrade only has an effect on editing existing scripts or creating new ones. Scripts created before the system update retain their tags until you edit them.


Feedback service temporarily unavailable. For content questions or problems, please contact Support.