IBM Support

PK73383: IMAGE CAN NOT BE UPLOADED TO RTE IF IMAGE NAME HAS SPECIAL CHARACTER ' (APOSTROPHE).

 

APAR status

  • Closed as program error.

Error description

  • Image can not be uploaded to RTE if image name has special
    character ' (Apostrophe)...
    
    Exact steps to reproduce the issue as below :
    
    (1) create a content item of a type with a rich text field
    
    (2) click insert image .
    
    (3) browse to an image on the local filesystem with 'special'
    characters '(Apostrophe) in the filename (for example ,
    "special_char_'.jpeg")
    
    (4)upload & insert into the rich text editor
    
    (5) It shows "X" mark instead of Image.
    

Local fix

Problem summary

  • Create new content using AT with Rich Text Editor
    In RTE, use Image Picker to upload a file with an apostrophe in
    the filename.
    Save the content item.
    Image doesn't appear; instead just the red X indicating image
    file not found.
    

Problem conclusion

  • In ImagePickerFormView.escapeApos(), we correctly replace the
    apostrophe with %27. However, later, in
    LaunchImagePickerDialogCommand.dialogFinished(), we replace the
    % symbol with %25. The net result is that the apostrophe in the
    filename is replaced with the nonsense string %2527.
    
    
    
    Fix was to move the code that replaces % with %25 to
    ImagePickerFormView, immediately preceding the code to replace
    apostrophe with %27.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK73383

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    60H

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-10-08

  • Closed date

    2009-01-08

  • Last modified date

    2009-01-08

  • 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

    5724I2900

Applicable component levels

  • R60H PSY

       UP

[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1.4","Edition":"","Line of Business":{"code":null,"label":null}}]

Document Information

Modified date:
09 September 2020