You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2008/06/05 08:32:05 UTC

[jira] Updated: (STR-3142) do not set form-file silently to null if setXXX() method is not specific enough

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

Paul Benedict updated STR-3142:
-------------------------------

    Fix Version/s: Pending Review

> do not set form-file silently to null if setXXX() method is not specific enough
> -------------------------------------------------------------------------------
>
>                 Key: STR-3142
>                 URL: https://issues.apache.org/struts/browse/STR-3142
>             Project: Struts 1
>          Issue Type: Bug
>    Affects Versions: 1.3.9
>         Environment: any
>            Reporter: Ralf Hauser
>             Fix For: Pending Review
>
>
> as a (unsuccessful) workaround for STR-2778, I changed the set method in a ActionForm object to
> public void setFile(Object file) {
>    this file= (FormFile) file;
> }
> it seems that struts does not like this setter and silently ignores it  :(

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