IBM Support

PK64848: WORKSPACE.GETBYID() SHOULD NOT FORCE LOAD THE RESOURCE BYTES FOR ANY

 

APAR status

  • Closed as program error.

Error description

  • Workspace.getById() should not force load the resource bytes for
    any file or image attachments.
    

Local fix

Problem summary

  • Problem Summary: Workspace.getById should only load the
    ComponentMap not the resourceByte as well.
    
    Detailed Problem Description:
    
    Workspace.getById should only load the ComponentMap not the
    resourceByte as well.  This can result in extensive memory usage
    if the items being retrieved have large file or image
    attachments.
    

Problem conclusion

  • Problem Analysis:
    
    By calling forceLoad on the Controllable the componentMap is
    loaded but this also causes all the components to be forceLoaded
    as well.  This causes the resourceBytes of File and Image
    components to be loaded
    
    Failing Module: WCM - Web Content Management (General)
    
    Problem Solution:
    
    Instead of calling forceLoad we can look to see if the object is
    a CmpntMapper and call cmpntIterator instead. This will provide
    the same guarantee of loading the components but doesn't
    forceLoad them
    
    Affected Users: Developers using the WCM API
    
    An interim fix is available for this APAR from Fix Central at:
    
    6.0.1.3
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde
    r?brandid=2&productid=Workplace%20Web%20Content%20Management&fix
    es=6.0.1.3-WCM-PK64848
    
    You will need to cut/paste the entire URL into a browser to
    resolve the address.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK64848

  • Reported component name

    WRKPLC WEB CON

  • Reported component ID

    5724I2900

  • Reported release

    60F

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-04-22

  • Closed date

    2008-05-19

  • Last modified date

    2008-06-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

    WRKPLC WEB CON

  • Fixed component ID

    5724I2900

Applicable component levels

  • R60F 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.2","Edition":"","Line of Business":{"code":null,"label":null}}]

Document Information

Modified date:
09 September 2020