[richfaces-issues] [JBoss JIRA] (RF-12931) rich:fileupload broken with recent versions of mojarra

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed May 8 01:04:54 EDT 2013


     [ https://issues.jboss.org/browse/RF-12931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12931:
-------------------------------

     Original Estimate: 2 hours  (was: 1 hour)
    Remaining Estimate: 2 hours  (was: 1 hour)

    
> rich:fileupload broken with recent versions of mojarra
> ------------------------------------------------------
>
>                 Key: RF-12931
>                 URL: https://issues.jboss.org/browse/RF-12931
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: compatibility, component-input
>    Affects Versions: 4.3.1
>         Environment: Glassfish 3.2.1.1, Tomcat 7.0.35
> Mojarra 2.1.21
> Chrome 26, Firefox 20
>            Reporter: Frederick Kämpfer
>            Priority: Critical
>              Labels: javascript
>             Fix For: 4.3.2
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> On recent versions of Mojarra the following simple fileupload facelet page produces an javascript error:
> {code:xml}
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:h="http://java.sun.com/jsf/html"
>       xmlns:ui="http://java.sun.com/jsf/facelets"
>       xmlns:rich="http://richfaces.org/rich"
>       xmlns:f="http://java.sun.com/jsf/core"
>       xmlns:a4j="http://richfaces.org/a4j"
>       xmlns:c="http://java.sun.com/jsp/jstl/core">
>     <f:view>
>         <h:head>
>         </h:head>
>         <h:body>
>             <script type="text/javascript">
>                 jsf.ajax.addOnError(function(e) {
>                     console.log(e);
>                     alert("An error occured:\n" + e.errorName + '\n' + e.description);
>                 });
>             </script>
>             <h:form>
>                 <rich:fileUpload/>
>             </h:form>
>         </h:body>
>     </f:view>
> </html>
> {code}
> The problem seems to be that the context.element parameter is undefined in jsf.ajax.response. Probably due to RichFaces' Javascript extensions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list