IBM Support

JR53981: Preview of Managed File with special character in filename fails when storage_type=-1 or CMSMALLFILE/CMLARGEFILE table is empty

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Preview of a Managed File with a filename containing special
    characters such as a space or plus sign returns 404 error code
    when storage_type=-1 or when CMSMALLFILE / CMLARGEFILE table is
    empty.
    
    Note that if storage_type <> -1 then CMSMALLFILE / CMLARGEFILE
    should not be empty.
    

Local fix

  • Do not use filenames with special characters in them.
    

Problem summary

  • USERS AFFECTED:
    Commerce Management Center business users using Attachment tool
    to preview managed files.
    
    PROBLEM ABSTRACT:
    Preview of Managed File with special character in filename fails
     when storage_type=-1 or CMSMALLFILE/CMLARGEFILE table is empty
    
    BUSINESS IMPACT:
    Business user on CMC cannot preview managed file when file name
    contain special characters and when the managed file is only
    available in the file system, not the database.
    
    RECOMMENDATION:
    

Problem conclusion

  • Instead of using the HttpServetRequest's pathInfo and
    servletPath to construct the forward path for the URL,  the code
     was changed to use the requestURI and contextPath.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53981

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-30

  • Closed date

    2015-08-10

  • Last modified date

    2015-08-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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021