myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dora Rajappan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-4155) For inputFile upload when multipart form is submitted the actionListener is not able to get the file.getSubmittedFileName()
Date Mon, 25 Sep 2017 12:10:00 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178922#comment-16178922
] 

Dora Rajappan commented on MYFACES-4155:
----------------------------------------

Thank you very much. It works.

> 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
>    Affects Versions: 2.3.0-beta
>            Reporter: Dora Rajappan
>            Assignee: Thomas Andraschko
>             Fix For: 2.3.0
>
>
> 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)

Mime
View raw message