Inventory scheduled report can't attach report when reportname contains invalid characters

  • 7022920
  • 03-May-2018
  • 03-May-2018

Environment

ZENworks Configuration Management 2017 Update 2

Situation

Scheduled inventory reports sending email with attachment fail to add the attachment when the report name contains characters invalid to the primary server file system.  For example on Windows, "<", ">", "/"

ERROR (from inventory-servlet.log):

[Inventory Servlet] [] [QueryJob exception4: ] [java.io.FileNotFoundException: C:\Program Files (x86)\Novell\ZENworks\share\tomcat\webapps\zenworks\report name / test.xls (The filename, directory name, or volume label syntax is incorrect)

Resolution

Workaround:  Don't use characters in the custom report name that are invalid on the primary server file system as filename.

Status

Reported to Engineering