IBM Support

PK96902: IMAGE NAME NOT RESPECTED IN IMAGE ELEMENT

 

APAR status

  • Closed as program error.

Error description

  • 1. Create content.
    2. Add Image Element
    3. Upload an image [take not of the name].
    4. Now go to 'read' the content.
    5. Click on the image to download it.
    
    Expected bahaviour : image name is preserved when downloaded.
    Actual behaviour: image name is some sort of an id [as it stays
    constant if the image is changed].
    - also the extension is changed from a JPG [as uploaded] to a
    jpeg [as downloaded]
    

Local fix

  • Filename was not included in URL. Used Erics fix from 7.0. The
    problem was occuring in safari because safari was looking at the
    URL to determine download filename. Also included URL encoding
    of filename to ensure links don't get broken by weird names.
    

Problem summary

  • Image name not respected in Image Element
    1. Create content.
    2. Add Image Element
    3. Upload an image [take not of the name].
    4. Now go to 'read' the content.
    5. Click on the image to download it.
    
    Expected bahaviour : image name is preserved when downloaded.
    Actual behaviour: image name is some sort of an id [as it stays
    constant if the image is changed].
    - also the extension is changed from a JPG [as uploaded] to a
    jpeg [as downloaded]
    

Problem conclusion

  • Filename was not included in URL. The problem was occuring in
    safari because safari was looking at the URL to determine
    download filename. Also included URL encoding of filename to
    ensure links don't get broken by weird names.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK96902

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2901

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-23

  • Closed date

    2009-09-23

  • Last modified date

    2009-09-23

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2901

Applicable component levels

  • R61A PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.1","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021