Notifications

167 views

Symptoms


A notification containing a mail script does not fire to create an email. The localhost log file shows:
 
SEVERE *** ERROR *** For input string: "mail_script_name" 
java.lang.NumberFormatException: For input string: "mail_script_name" 
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) 
at java.lang.Integer.parseInt(Integer.java:580)

Release


Any Release

 

Cause


Looking at the html source for the notification, you can see a href tag added in between the parts of the mail script call. For Example:

$mail_<a href="script:mail_script_name}">script:mail_script_name}

When looking at this in the html viewer, you can see parts of the mail script call highlighted as a link but not all.

Resolution


Remove the href attribute.

For Example: <p>${mail_script:mail_script_name}</p>

 

Article Information

Last Updated:2018-08-21 07:32:26
Published:2018-08-21