You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Tom Briers (JIRA)" <ji...@apache.org> on 2013/08/21 15:33:51 UTC

[jira] [Updated] (WW-4179) Error messages from JakartaMultiPartRequest are not in the correct language

     [ https://issues.apache.org/jira/browse/WW-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Briers updated WW-4179:
---------------------------

    Description: 
When we upload a file that exceeds the {{struts.multipart.maxSize}} we don't get the message in the correct language.

This seems to be due to the fact that the interceptors are executed after the parse method (including i18n) meaning the correct locale is not yet available.

Is there a way to fix this or to get around this limitation?

  was:
When we upload a file that exceeds the `struts.multipart.maxSize` we don't get the message in the correct language.

This seems to be due to the fact that the interceptors are executed after the parse method (including i18n) meaning the correct locale is not yet available.

Is there a way to fix this or to get around this limitation?

    
> Error messages from JakartaMultiPartRequest are not in the correct language
> ---------------------------------------------------------------------------
>
>                 Key: WW-4179
>                 URL: https://issues.apache.org/jira/browse/WW-4179
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.15.1
>            Reporter: Tom Briers
>
> When we upload a file that exceeds the {{struts.multipart.maxSize}} we don't get the message in the correct language.
> This seems to be due to the fact that the interceptors are executed after the parse method (including i18n) meaning the correct locale is not yet available.
> Is there a way to fix this or to get around this limitation?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira