JasperReports server 7.9 and 8.1.1 is sending emails with bad filename attachments
search cancel

JasperReports server 7.9 and 8.1.1 is sending emails with bad filename attachments

book

Article ID: 239914

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

Scheduled reports are being sent with bad filename attachments in JasperReports server 7.9

In Jasper 8.1.1 the file name starts with "Untitled Attachment" and the extension is .dat

Environment

Release : 17.3

Component : SDM - Reporting/BOXI/JasperSoft

Cause

Defect with JasperReport Server 7.9: JS-57006: Scheduled Report attachment filename is corrupt when name contains accented chars

Resolution

There are 2 possible workarounds:

Option 1.

Name the report in the schedule definition to be less than 30 characters for report names to contain accented characters.

Option 2.

1) Take a backup of catalina.properties file under <local drive>\Jaspersoft\jasperreports-server-<version>\apache-tomcat\conf

2) Add the following setting to the file if it does not exist:

mail.mime.splitlongparameters=false

3) Save the changes

4) Restart JasperReport Server services for the changes to take effect