IBM Support

PK66117: UNABLE TO PREVIEW COMPONENT REFERENCES (ELEMENTS) ON A DRAFT ITEM VIA A JSP.

 

APAR status

  • Closed as program error.

Error description

  • Unable to preview Component References (Elements) on a Draft
    item via a JSP, and exception is thrown:
    
    Following exceptions in SystemOut.log:
    
    [5/8/08 12:51:12:438 IST] 00000062 SystemOut     O Rendering
    context retrieved
    [5/8/08 12:51:12:438 IST] 00000062 SystemOut     O Rendering
    context updated
    [5/8/08 12:51:12:438 IST] 00000062 SystemOut     O Component
    found - Tile 1
    [5/8/08 12:51:12:438 IST] 00000062 SystemOut     O Component
    Reference not null - rendering
    [5/8/08 12:51:21:078 IST] 00000062 ContentServic E   Unable to
    locate Dynamic workspace for draft with id
    93920000499cd5828d1dcd1c43713f7f and draftWorkspace
    93920000499cd5828d1dcd1c43713f7f
    [5/8/08 12:51:21:078 IST] 00000062 Cmpnt         W   IWKPC1085X:
    Exception while rendering component: inline class
    com.aptrix.pluto.cmpnt.CmpntReference - Exception:
    com.ibm.workplace.wcm.services.content.ItemNotFoundException:
    Item with identity {93920000499cd5828d1dcd1c43713f7f,
    com.aptrix.pluto.control.Controllable} could not be found.
    
    com.ibm.workplace.wcm.services.content.ItemNotFoundException:
    Item with identity {93920000499cd5828d1dcd1c43713f7f,
    com.aptrix.pluto.control.Controllable} could not be found.
     at
    com.ibm.workplace.wcm.services.content.ContentServiceImpl.getImp
    l(ContentServiceImpl.java:1788)
     at
    com.ibm.workplace.wcm.services.content.ContentServiceImpl.getDra
    ftLazy(ContentServiceImpl.java:1552)
    

Local fix

Problem summary

  • The preview of a draft content item does not work correctly, if
    it references non-draft components and if these components are
    rendered via the WCM API, e.g. inside a JSP. The following
    exception is logged:
    
    [21/04/08 14:39:24:890 EST] 0000005a ContentServic E Unable to
    locate Dynamic workspace for draft with id
    2d9c52804961e145a4e9bf6203175193 and draftWorkspace
    2d9c52804961e145a4e9bf6203175193
    [21/04/08 14:39:24:921 EST] 0000005a Cmpnt W IWKPC1085X:
    Exception while rendering component: inline class
    com.aptrix.pluto.cmpnt.CmpntReference - Exception:
    com.ibm.workplace.wcm.services.content.ItemNotFoundException:
    Item with identity {2d9c52804961e145a4e9bf6203175193,
    com.aptrix.pluto.control.Controllable} could not be found.
    at
    com.ibm.workplace.wcm.services.content.ContentServiceImpl.getImp
    l(ContentServiceImpl.java:1788)
    
    The rendering output does not contain the components. Rendering
    works fine, after the content item is moved to live state.
    

Problem conclusion

  • Fixed the code in CmpntReference to check if a draft component
    exist before using the draft workspace. Otherwise, the regular
    user workspace is used.
    
    Affected Users: All Users
    
    Requisites:
       pre-requisite Portal Component: WCM 6.0.1.3 GA build 22.5
       pre-requisite interim fixes: PK66814 (these also pre-req:
    Fixed the code in CmpntReference to check if a draft component
    exist before using the draft workspace. Otherwise, the regular
    user workspace is used.)
    
    Platform Specific: No
    
    A fix is available from Fix Central:
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickord
    er?brandid=2&productid=Workplace%20Web%20Content%20Management&fi
    xes=6.0.1.3-WCM-PK66117
    
    You may need to type or paste the complete address into your Web
    browser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK66117

  • Reported component name

    WRKPLC WEB CON

  • Reported component ID

    5724I2900

  • Reported release

    60G

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-05-16

  • Closed date

    2008-06-26

  • Last modified date

    2008-06-26

  • 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

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

Document Information

Modified date:
09 September 2020