struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Yves Soblet (JIRA)" <>
Subject [jira] [Created] (WW-4636) File upload error message always in default language
Date Fri, 20 May 2016 08:05:12 GMT
Pierre-Yves Soblet created WW-4636:

             Summary: File upload error message always in default language
                 Key: WW-4636
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.3.28
            Reporter: Pierre-Yves Soblet

Struts 2 allows to redefine error messages when an upload fails (as documented in

For instance, if I upload a file with a size greater than allowed by the configuration using
fileUpload interceptor and commons-fileupload dependency, the following key of my resource
bundle is used :
struts.messages.upload.error.SizeLimitExceededException=File size exceeded (in

However, when the current language is not the default one, the translated key (in
for instance) is not taken into account (the default language is used instead).

The issue seems similar to WW-3177 (that was fixed in 2.3.7).

This message was sent by Atlassian JIRA

View raw message