Is there a way to define custom error messages for the exceptions that occur in OX?
For ex, if the attachment size is greater than what's configured, the error in the popup (in the top-right region) is something like: "A severe error occurred. (UPL-0001, 1603448077-23616)".
Relevant logs said something like:
Caused by: org.apache.commons.fileupload.FileUploadBase$IOFil eUploadException: Processing of multipart/form-data request failed. Max. byte count of 104857600 exceeded.
at org.apache.commons.fileupload.FileUploadBase.parse Request(FileUploadBase.java:367)
at org.apache.commons.fileupload.servlet.ServletFileU pload.parseRequest(ServletFileUpload.java:126)
at com.openexchange.ajax.AJAXServlet.processUploadSta tic(AJAXServlet.java:883)
... 18 more
Is there a way I can make these error messages more human friendly and less frightening to the end user? And it's not just about this error, I would like to configure custom error messages for other kind of exceptions too.
For ex, if the attachment size is greater than what's configured, the error in the popup (in the top-right region) is something like: "A severe error occurred. (UPL-0001, 1603448077-23616)".
Relevant logs said something like:
Caused by: org.apache.commons.fileupload.FileUploadBase$IOFil eUploadException: Processing of multipart/form-data request failed. Max. byte count of 104857600 exceeded.
at org.apache.commons.fileupload.FileUploadBase.parse Request(FileUploadBase.java:367)
at org.apache.commons.fileupload.servlet.ServletFileU pload.parseRequest(ServletFileUpload.java:126)
at com.openexchange.ajax.AJAXServlet.processUploadSta tic(AJAXServlet.java:883)
... 18 more
Is there a way I can make these error messages more human friendly and less frightening to the end user? And it's not just about this error, I would like to configure custom error messages for other kind of exceptions too.
Comment