Bug 793690 (JBEPP-766)

Summary: PBR-212 Info about uploaded files in FileUpload component demo doesn't work
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Gary Hu <garyhu2>
Component: unspecifiedAssignee: Gary Hu <garyhu2>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.GACC: epp-bugs, jjamrich, prabhat.jha, tkobayas
Target Milestone: ---   
Target Release: 5.1.0.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-766
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-11 06:45:11 UTC Type: Support Patch
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
portletbridge-impl-2.1.0.GA.EPP51.jar none

Description Gary Hu 2011-01-03 23:16:51 UTC
Patch Instructions: PATCH NAME:
        JBEPP-766
PRODUCT NAME:
        JBoss Enterprise Portal Platform (EPP)
VERSION:
        5.1
SHORT DESCRIPTION:
       Richfaces component rich:fileUpload doesn't work in portletbridge 2.1.0.GA.EPP51
LONG DESCRIPTION:
       Richfaces component rich:fileUpload doesn't work in portletbridge 2.1.0.GA.EPP51. The upload listener doesn't get invoked.
MANUAL INSTALL INSTRUCTIONS:
       Replace portletbridge-impl-2.1.0.GA.EPP51.jar in the application's deployment archive with the version contained in this patch distribution.
       Make sure to use Richfaces 3.3.1.SP2 and seam jars shipped by EPP 5.1.
COMPATIBILITY:
        N/A
DEPENDENCIES:
        N/A
SUPERSEDES:
        N/A
SUPERSEDED BY:
        JBoss EPP 5.1
CREATOR:
        Gary Hu
DATE:
        2011/01/04 
Patch Repository Link: https://support.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=5183
SVN / CVS Isolated Branch: https://svn.jboss.org/repos/portletbridge/branches/enterprise/2.x-EPP51.JBEPP766
Support Case Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000005NvDA&sfdc.override=1
project_key: JBEPP

When upload some images using File upload on the richfaces-demo, no thumbnail appear in appropriate section, and description remains "No files currently uploaded". 
In addition, FileUploadBean.listner() is not invoked.

Comment 1 Gary Hu 2011-01-04 15:25:58 UTC
SVN / CVS Isolated Branch: Added: https://svn.jboss.org/repos/portletbridge/branches/2.1.0.GA.EPP51_JBEPP-766
Patch Instructions: Added: PATCH NAME:
        JBEPP-766
PRODUCT NAME:
        JBoss Enterprise Portal Platform (EPP)
VERSION:
        5.1
SHORT DESCRIPTION:
       Richfaces component rich:fileUpload doesn't work in portletbridge 2.1.0.GA.EPP51
LONG DESCRIPTION:
       Richfaces component rich:fileUpload doesn't work in portletbridge 2.1.0.GA.EPP51. The upload listener doesn't get invoked.
MANUAL INSTALL INSTRUCTIONS:
       Replace portletbridge-impl-2.1.0.GA.EPP51.jar in the application's deployment archive with the version contained in this patch distribution.
       Make sure to use Richfaces 3.3.1.SP2 and seam jars shipped by EPP 5.1.
COMPATIBILITY:
        N/A
DEPENDENCIES:
        N/A
SUPERSEDES:
        N/A
SUPERSEDED BY:
        JBoss EPP 5.1
CREATOR:
        Gary Hu
DATE:
        2011/01/04 


Comment 2 Gary Hu 2011-01-04 15:27:16 UTC
Attachment: Added: portletbridge-impl-2.1.0.GA.EPP51.jar


Comment 3 Gary Hu 2011-01-04 15:28:24 UTC
I've tested on my local box and the rich:fileUpload worked fine with me. I've attached the patched jar here. 

Comment 6 Ján Jamrich 2011-01-06 10:34:12 UTC
richfaces demo: OK (one failure more than in previous, but it's because max. file size limit still doesn't work)
https://hudson.qa.jboss.com/hudson/view/EPP5/job/epp5-pbr-rf3/58/

Comment 7 Ján Jamrich 2011-01-06 10:45:16 UTC
Automated tests doesn't show regression, component verified by hand as well.
Issue seems fixed, and no other issue found after last changes

Comment 8 Tushar Gandotra 2011-01-10 10:04:49 UTC
The patch is available for download from the following location:
https://support.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=5183


Comment 9 Tushar Gandotra 2011-01-10 10:04:49 UTC
Patch Repository Link: Added: https://support.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=5183


Comment 10 Toshiya Kobayashi 2011-01-11 05:19:31 UTC
Download link in the page [1] fails with 'An Unexpected Error Has Occurred. '
Also the patch is not listed in [2].
Could you check it please?

[1] https://support.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=5183
[2] https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=patches&product=jbportal&version=5.1.0

Comment 11 Toshiya Kobayashi 2011-06-02 08:35:36 UTC
Link: Added: This issue incorporates PBR-212