We encountered a situation were the subject is longer than the field length (104 vs. 100). Is there a way to increase the field length of the Subject.
Release : 15.8.1
Component : CA PPM APPLICATION
The 100 character limit value is indeed hardcoded in jasperserver/jasperserver-api-impl/engine/src/main/java/com/jaspersoft/jasperserver/api/engine/scheduling/DefaultReportJobValidator.java
*****these changes need to be made on the code level so you would require you to download the source code and re-build the WAR which could be unfeasible.*****
The line:
protected void validateMailNotification(ValidationErrors errors, ReportJobMailNotification mailNotification) {
checkString(errors, "mailNotification.subject", mailNotification.getSubject(), true, 100);
checkString(errors, "mailNotification.messageText", mailNotification.getMessageText(), false, 2000);
validateAddresses(errors, mailNotification);
}
So to workaround this problem you'll need to change the value from 100 here to whatever you want and re-build the source code.