IBM Support

PM60888: Using JWL hx:fileUpload may result in file corruption

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to upload a file using JWL hx:fileUpload may corrupt
    some file formats
    
    Problem:
    
    When you use the hx:fileUpload JWL component to upload files it
    may result in file corruptions for some file formats, such as
    docx, pptx, and xlsx. The resulting file size increases by 2
    bytes and the resulting file cannot be read or modified.
    
    Local fix:
    
    There is no workaround at this time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Some files uploaded using the Upload Component of the IBM
    JSF Widgets Library (JWL) from a Portlet application are
    corrupted and fail to be opened in the server. Specifically,
    extensions docx, pptx and xlsx are known to present this
    problem. The uploaded file size will be two bytes longer
    than the original one.
    
    This issue is only present on a Portlet application. Simple
    JSF applications using the JWL library won't corrupt the
    mentioned files.
    

Problem conclusion

  • The issue has been fixed, it was caused by a logic and
    encoding problem in earlier versions of JWL. The encoding
    and headers of the uploaded data can be different for a
    Dynamic web Project and a Portlet.
    
    The fix for this APAR is included in Rational Application
    Developer v7.5.5.5 iFix1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM60888

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    755

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-21

  • Closed date

    2012-09-24

  • Last modified date

    2012-09-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R755 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 September 2012