You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Yves-Marie Lainé (JIRA)" <ji...@apache.org> on 2007/06/05 19:29:26 UTC

[jira] Created: (WW-1968) i18n problem with getText when calling some actions in same time

i18n problem with getText when calling some actions in same time
----------------------------------------------------------------

                 Key: WW-1968
                 URL: https://issues.apache.org/struts/browse/WW-1968
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.7, 2.0.6
         Environment: Tomcat Struts 2.06 / 2.0.7 
            Reporter: Yves-Marie Lainé


Hi, sorry if this is not a bug but i believe it is :

I have a multipart internationalized form that contains a lot of text field. In the middle of this form there is a file input field that allow the user to upload image that are kept in session before final validation. After uploading image, the form is displayed back and uploaded images are displayed on the form by calling another action that return image as stream result. Everything works fine at this point.

The problem is that when the navigator request images from the download action before the end of the render process of the form, all the i18n keys are displayed instead of the values that are present in my support file.

In debug mode i can see :

[LocalizedTextUtil] Unable to find text for key 'i18n.key' in class 'package.DownloadImageAction' and locale 'fr'

But, in fact the form that contain the <s:text ../> tag isn't the resut of thist action.

If I desactivate image in the navigator, all my label are displayed fine.

Yes-Marie Lainé

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1968) i18n problem with getText when calling some actions in same time

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43692#action_43692 ] 

Don Brown commented on WW-1968:
-------------------------------

Could you provide more information, specifically your XML configuration and/or screenshots?  I'm having trouble understanding the exact problem.

> i18n problem with getText when calling some actions in same time
> ----------------------------------------------------------------
>
>                 Key: WW-1968
>                 URL: https://issues.apache.org/struts/browse/WW-1968
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6, 2.0.7
>         Environment: Tomcat Struts 2.06 / 2.0.7 
>            Reporter: Yves-Marie Lainé
>             Fix For: Future
>
>
> Hi, sorry if this is not a bug but i believe it is :
> I have a multipart internationalized form that contains a lot of text field. In the middle of this form there is a file input field that allow the user to upload image that are kept in session before final validation. After uploading image, the form is displayed back and uploaded images are displayed on the form by calling another action that return image as stream result. Everything works fine at this point.
> The problem is that when the navigator request images from the download action before the end of the render process of the form, all the i18n keys are displayed instead of the values that are present in my support file.
> In debug mode i can see :
> [LocalizedTextUtil] Unable to find text for key 'i18n.key' in class 'package.DownloadImageAction' and locale 'fr'
> But, in fact the form that contain the <s:text ../> tag isn't the resut of thist action.
> If I desactivate image in the navigator, all my label are displayed fine.
> Yes-Marie Lainé

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-1968) i18n problem with getText when calling some actions in same time

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1968:
---------------------------

    Fix Version/s: Future

Setting Fix Version to "future" for issues without a set fix version. 


> i18n problem with getText when calling some actions in same time
> ----------------------------------------------------------------
>
>                 Key: WW-1968
>                 URL: https://issues.apache.org/struts/browse/WW-1968
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6, 2.0.7
>         Environment: Tomcat Struts 2.06 / 2.0.7 
>            Reporter: Yves-Marie Lainé
>             Fix For: Future
>
>
> Hi, sorry if this is not a bug but i believe it is :
> I have a multipart internationalized form that contains a lot of text field. In the middle of this form there is a file input field that allow the user to upload image that are kept in session before final validation. After uploading image, the form is displayed back and uploaded images are displayed on the form by calling another action that return image as stream result. Everything works fine at this point.
> The problem is that when the navigator request images from the download action before the end of the render process of the form, all the i18n keys are displayed instead of the values that are present in my support file.
> In debug mode i can see :
> [LocalizedTextUtil] Unable to find text for key 'i18n.key' in class 'package.DownloadImageAction' and locale 'fr'
> But, in fact the form that contain the <s:text ../> tag isn't the resut of thist action.
> If I desactivate image in the navigator, all my label are displayed fine.
> Yes-Marie Lainé

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-1968) i18n problem with getText when calling some actions in same time

Posted by "Jeromy Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeromy Evans closed WW-1968.
----------------------------

    Resolution: Not A Problem

Closed as requested.  Struts2.1.x includes additional debug information for investigating these problem.

> i18n problem with getText when calling some actions in same time
> ----------------------------------------------------------------
>
>                 Key: WW-1968
>                 URL: https://issues.apache.org/struts/browse/WW-1968
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6, 2.0.7
>         Environment: Tomcat Struts 2.06 / 2.0.7 
>            Reporter: Yves-Marie Lainé
>             Fix For: Future
>
>
> Hi, sorry if this is not a bug but i believe it is :
> I have a multipart internationalized form that contains a lot of text field. In the middle of this form there is a file input field that allow the user to upload image that are kept in session before final validation. After uploading image, the form is displayed back and uploaded images are displayed on the form by calling another action that return image as stream result. Everything works fine at this point.
> The problem is that when the navigator request images from the download action before the end of the render process of the form, all the i18n keys are displayed instead of the values that are present in my support file.
> In debug mode i can see :
> [LocalizedTextUtil] Unable to find text for key 'i18n.key' in class 'package.DownloadImageAction' and locale 'fr'
> But, in fact the form that contain the <s:text ../> tag isn't the resut of thist action.
> If I desactivate image in the navigator, all my label are displayed fine.
> Yes-Marie Lainé

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1968) i18n problem with getText when calling some actions in same time

Posted by "Yves-Marie Lainé (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43707#action_43707 ] 

Yves-Marie Lainé commented on WW-1968:
--------------------------------------

This problem seems to be resolved now. I'm using version 2.0.11 and it's ok.

> i18n problem with getText when calling some actions in same time
> ----------------------------------------------------------------
>
>                 Key: WW-1968
>                 URL: https://issues.apache.org/struts/browse/WW-1968
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6, 2.0.7
>         Environment: Tomcat Struts 2.06 / 2.0.7 
>            Reporter: Yves-Marie Lainé
>             Fix For: Future
>
>
> Hi, sorry if this is not a bug but i believe it is :
> I have a multipart internationalized form that contains a lot of text field. In the middle of this form there is a file input field that allow the user to upload image that are kept in session before final validation. After uploading image, the form is displayed back and uploaded images are displayed on the form by calling another action that return image as stream result. Everything works fine at this point.
> The problem is that when the navigator request images from the download action before the end of the render process of the form, all the i18n keys are displayed instead of the values that are present in my support file.
> In debug mode i can see :
> [LocalizedTextUtil] Unable to find text for key 'i18n.key' in class 'package.DownloadImageAction' and locale 'fr'
> But, in fact the form that contain the <s:text ../> tag isn't the resut of thist action.
> If I desactivate image in the navigator, all my label are displayed fine.
> Yes-Marie Lainé

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.