You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2017/09/24 19:55:00 UTC
[jira] [Resolved] (MYFACES-4155) For inputFile upload when
multipart form is submitted the actionListener is not able to get the
file.getSubmittedFileName()
[ https://issues.apache.org/jira/browse/MYFACES-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko resolved MYFACES-4155.
----------------------------------------
Resolution: Fixed
Assignee: Thomas Andraschko
> 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)