Dora Rajappan created MYFACES-4155:
--------------------------------------

             Summary: For inputFile upload when multipart form is submitted the 
actionListener is not able to get the file.getSubmittedFileName() 
                 Key: MYFACES-4155
                 URL: https://issues.apache.org/jira/browse/MYFACES-4155
             Project: MyFaces Core
          Issue Type: Bug
            Reporter: Dora Rajappan


For inputFile upload when multipart form is submitted the actionListener is not 
able to get the file.getSubmittedFileName() . It throws below exception with 
myfaces while its passed with mojarra.
Class org.apache.myfaces.shared.renderkit.html.util.HttpPartWrapper can not 
access a member of class org.apache.catalina.fileupload.PartItem with modifiers 
"public"
        at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
        at 
java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
        at 
java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
        at java.lang.reflect.Method.invoke(Method.java:491)
        at 
org.apache.myfaces.shared.renderkit.html.util.HttpPartWrapper.getSubmittedFileName(HttpPartWrapper.java:96)
        at UserBean.save(UserBean.java:595)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to