IBM Support

PK86043: API CALL GETBYIDS NOT WORKING IF DRAFT ITEMS ARE PRESENT IN THE WORKSPACE

 

APAR status

  • Closed as program error.

Error description

  • If there are draft items in the workspace the API call getByIds
    throws the following errors:
    
    [3/20/09 4:09:49:577 EDT] 00000030 SystemErr     R
    java.lang.IllegalStateException: Repository is not logged in.
    [3/20/09 4:09:49:577 EDT] 00000030 SystemErr     R      at
    com.ibm.workplace.wcm.services.repository.WorkspaceManager.getAc
    tiveWork
    spaceContainerInformation(WorkspaceManager.java:493)
    [3/20/09 4:09:49:577 EDT] 00000030 SystemErr     R      at
    com.ibm.workplace.wcm.services.repository.WorkspaceManager.getWo
    rkspace(
    WorkspaceManager.java:1246)
    [3/20/09 4:09:49:577 EDT] 00000030 SystemErr     R      at
    com.ibm.workplace.wcm.data.jcr.JCRDataUtils.getNodeByUUID(JCRDat
    aUtils.j
    ava:251)
    [3/20/09 4:09:49:577 EDT] 00000030 SystemErr     R      at
    

Local fix

Problem summary

  • Problem Summary:
     A call to the api method Workspace.getByIds throws a
    java.lang.IllegalStateException when one of the content items is
    a draft item.
    
    Detailed Problem Description:
     An IllegalStateException is thrown when trying to get a list of
    document objects from the corresponding ids with one of the ids
    belonging
     to a draft item.
    

Problem conclusion

  • Problem Analysis:
     There is no prior login to the workspacemanager object before a
    method call which is unique for a draft item is made.
    
    Problem Solution:
             A call to login to the appropriate workspace objects
    have been added.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK86043

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-05-06

  • Closed date

    2009-08-19

  • Last modified date

    2009-08-19

  • 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

  • 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