You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ismael Fal (JIRA)" <ji...@apache.org> on 2007/09/27 20:14:36 UTC

[jira] Created: (STR-3102) Form data lost due using multipart encryption

Form data lost due using multipart encryption
---------------------------------------------

                 Key: STR-3102
                 URL: https://issues.apache.org/struts/browse/STR-3102
             Project: Struts 1
          Issue Type: Bug
    Affects Versions: 1.3.8
         Environment: Redhat Enterprise 5, Tomcat 5.028, !E7 browser.
            Reporter: Ismael Fal


When submitting a form using multipart encryption, enctype="multipart/form-data", request data for a form bean (specifically, a vector of custom objects) is lost.  In a vector of 60 objects, one field from one object was lost, seemingly arbitrary.  When multipart encryption is turned off, the data passes in the request as expected.

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


[jira] Updated: (STR-3102) Form data lost due using multipart encryption

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

Paul Benedict updated STR-3102:
-------------------------------

    Component/s: Core

> Form data lost due using multipart encryption
> ---------------------------------------------
>
>                 Key: STR-3102
>                 URL: https://issues.apache.org/struts/browse/STR-3102
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.8
>         Environment: Redhat Enterprise 5, Tomcat 5.028, !E7 browser.
>            Reporter: Ismael Fal
>
> When submitting a form using multipart encryption, enctype="multipart/form-data", request data for a form bean (specifically, a vector of custom objects) is lost.  In a vector of 60 objects, one field from one object was lost, seemingly arbitrary.  When multipart encryption is turned off, the data passes in the request as expected.

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


[jira] Commented: (STR-3102) Form data lost due using multipart encryption

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45351#action_45351 ] 

Paul Benedict commented on STR-3102:
------------------------------------

I ran this in Firefox 3.0.5 and IE 7, and both received the "All property is OK." message. I used Tomcat 6.0.16 to test on Windows XP.

> Form data lost due using multipart encryption
> ---------------------------------------------
>
>                 Key: STR-3102
>                 URL: https://issues.apache.org/struts/browse/STR-3102
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.8
>         Environment: Redhat Enterprise 5, Tomcat 5.028, !E7 browser.
>            Reporter: Ismael Fal
>             Fix For: Pending Review
>
>         Attachments: sample.zip
>
>
> When submitting a form using multipart encryption, enctype="multipart/form-data", request data for a form bean (specifically, a vector of custom objects) is lost.  In a vector of 60 objects, one field from one object was lost, seemingly arbitrary.  When multipart encryption is turned off, the data passes in the request as expected.

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


[jira] Commented: (STR-3102) Form data lost due using multipart encryption

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42312 ] 

Paul Benedict commented on STR-3102:
------------------------------------

Can you provide an example webapp? No need to submit libraries or compiled classes. But just enough for me to compile and then run it locally.

> Form data lost due using multipart encryption
> ---------------------------------------------
>
>                 Key: STR-3102
>                 URL: https://issues.apache.org/struts/browse/STR-3102
>             Project: Struts 1
>          Issue Type: Bug
>    Affects Versions: 1.3.8
>         Environment: Redhat Enterprise 5, Tomcat 5.028, !E7 browser.
>            Reporter: Ismael Fal
>
> When submitting a form using multipart encryption, enctype="multipart/form-data", request data for a form bean (specifically, a vector of custom objects) is lost.  In a vector of 60 objects, one field from one object was lost, seemingly arbitrary.  When multipart encryption is turned off, the data passes in the request as expected.

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


[jira] Commented: (STR-3102) Form data lost due using multipart encryption

Posted by "Cédric Laruelle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44014#action_44014 ] 

Cédric Laruelle commented on STR-3102:
--------------------------------------

Did you find anything on this subject ? Actually, I have the very same problem using Tomcat 6.0.16 on Windows XP and Centos5 (reproducted on both) and Spring 2.5.1.
It seems to happen on the field on which tomcat internal cuts the received data when reading into an internal buffer.

> Form data lost due using multipart encryption
> ---------------------------------------------
>
>                 Key: STR-3102
>                 URL: https://issues.apache.org/struts/browse/STR-3102
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.8
>         Environment: Redhat Enterprise 5, Tomcat 5.028, !E7 browser.
>            Reporter: Ismael Fal
>
> When submitting a form using multipart encryption, enctype="multipart/form-data", request data for a form bean (specifically, a vector of custom objects) is lost.  In a vector of 60 objects, one field from one object was lost, seemingly arbitrary.  When multipart encryption is turned off, the data passes in the request as expected.

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


[jira] Updated: (STR-3102) Form data lost due using multipart encryption

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

kimura kouji updated STR-3102:
------------------------------

    Attachment: sample.zip

I provide sample web application which attached source and [struts1.3.8] library.

This sample web application check that values are ordinary set the properties of [ActionForm] when request send thouthands text by [enctype="multipart/form-data"], and if the values does not set, the text displayed on output jsp.

please check and try it.
Thank you.


> Form data lost due using multipart encryption
> ---------------------------------------------
>
>                 Key: STR-3102
>                 URL: https://issues.apache.org/struts/browse/STR-3102
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.8
>         Environment: Redhat Enterprise 5, Tomcat 5.028, !E7 browser.
>            Reporter: Ismael Fal
>         Attachments: sample.zip
>
>
> When submitting a form using multipart encryption, enctype="multipart/form-data", request data for a form bean (specifically, a vector of custom objects) is lost.  In a vector of 60 objects, one field from one object was lost, seemingly arbitrary.  When multipart encryption is turned off, the data passes in the request as expected.

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


[jira] Updated: (STR-3102) Form data lost due using multipart encryption

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

Paul Benedict updated STR-3102:
-------------------------------

    Fix Version/s: Pending Review

> Form data lost due using multipart encryption
> ---------------------------------------------
>
>                 Key: STR-3102
>                 URL: https://issues.apache.org/struts/browse/STR-3102
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.8
>         Environment: Redhat Enterprise 5, Tomcat 5.028, !E7 browser.
>            Reporter: Ismael Fal
>             Fix For: Pending Review
>
>         Attachments: sample.zip
>
>
> When submitting a form using multipart encryption, enctype="multipart/form-data", request data for a form bean (specifically, a vector of custom objects) is lost.  In a vector of 60 objects, one field from one object was lost, seemingly arbitrary.  When multipart encryption is turned off, the data passes in the request as expected.

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