When scheduling a report through the Rest V2 API for Jasper Server I am getting this error :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
Maximum length is {0,number,integer}.
100
error.length
label
Maximum length is {0,number,integer}.
100
error.length
baseOutputFilename
Maximum length is {0,number,integer}.
100
error.length
mailNotification.subject
I have changed all maxLength values for these variables in the /WEB-INF/classes/esapi/security.properties as follows :
mailNotification.subject=AlphaDot,!Script,500,true,mailNotification.subject-ViewRepository_Schedule_OutputSettings_context
baseOutputFilename=Alpha,AlphaNumPunctuation,500,true,baseOutputFilename-ViewRepository_Schedule_OutputSettings_context
label=Alpha,AlphaNumPunctuation,5000,true,label-ViewRepositoryEdit_context
reportUnit.label=AlphaDot,ReportUnitName,250,true,reportUnit.label-ViewRepositoryEdit_context
Each field above in the job descriptor XML that I am sending is just over 100 characters. I know the limit is 100 characters and I have changed the variables in the security.properties file and restarted Tomcat7. The changes are not applied.
Is this a bug??
Recommended Comments