Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3401

Issue with RichFaces fileUpload component using MyFaces 2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.9
    • 2.0.12, 2.1.6
    • JSR-314
    • None

    Description

      I have an application that I'll attach to this issue that can reproduce this issue. To reproduce you need to:

      1) Install webapp.war

      2) navigate to index.xhtml

      3) click the "add" button and select a file to upload ( any file it does not matter )

      4) click the "upload" button

      The following error occurs: context.source is undefined -> jsf.js.jsf:6422

      If I look at the jsf.js line 6422 I see the following:

      var elementId = (context._mfInternal)? context._mfInternal["_mfSourceControlId"] : context.source.id;

      The above line is in the processUpdate : function(request, context, node) method. I'm not very familiar with the JS within MyFaces so I wanted to open up an issue and get some feedback from the community.

      I see that other issues have been opened regarding RichFaces fileUpload such as : https://issues.apache.org/jira/browse/MYFACES-3043

      Attachments

        1. webapp.war
          3.09 MB
          Paul Nicolucci
        2. Patch_for_Richfaces_4_0_fileupload.patch
          3 kB
          Werner Punz

        Activity

          People

            werpu Werner Punz
            paul.nicolucci Paul Nicolucci
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: