IBM Support

PI23927: UPLOADING AN APPLICATION TO THE WORKLIGHT APPLICATION CENTER THROUGH MULTI-PROTOCOL GATEWAY IN DATAPOWER MAY FAIL.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Uploading an application to the Worklight Application Center
    through Multi-Protocol Gateway in DataPower may fail
    
    On the client side, the following error may be displayed:
    An error occurred during the upload of the updated application
    file.
    
    On the server side, the following error may be logged:
    Exception during resource upload. String index out of range: -1
    
    The problem is triggered by MPG adding double quotation marks to
    the MIME multipart message's boundary in the Content-type
    header.
    
    For example, this header
    multipart/form-data;
    boundary=---------------------------2925426766838
    becomes
    multipart/form-data;
    boundary="---------------------------2925426766838"
    
    
    Additional Keywords:
    
    Worklight Versions Affected: 5.x, 6.x
    
    Initial Impact: High
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Application Center administration users that upload          *
    * applications                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Uploading an application to the Worklight Application Center *
    * through Multi-Protocol Gateway in DataPower may fail due to  *
    * to the non support by Apache Wink of mutipart HTTP requests  *
    * containing a boundary value enclosed between double quotes   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The Apache Wink issue was avoided by removing in a servlet
    filter the double quotes around the boundary attribute of the
    HTTP header
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI23927

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-17

  • Closed date

    2014-09-10

  • Last modified date

    2014-09-10

  • 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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R610 PSY

       UP

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021