[ https://issues.apache.org/struts/browse/STR-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44068#action_44068 ]
Ralf Hauser commented on STR-3142: ---------------------------------- if there is a setter method with the correct name, but the method argument is more generic than excepted (class Object instead of FormFile), the setter is considered inexistent instead of a warning being raised > 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.