IBM Support

PM07909: WCM API DOCUMENTID.GETNAME() CAN RETURN NULL IN SOME CASES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The WCM API DocumentId.getName() method can return NULL if some
    cases... One case where this can happen is if the 'Content By
    Title' view is loaded in the WCM Authoring UI, then the
    Workspace.findByPath method is called passing in a path from one
    of the objects that was shown in the 'Content By Title' view
    

Local fix

  • Call Workspace.getById and then retrieve the 'Name' property
    from the returned object
    

Problem summary

  • The WCM API DocumentId.getName() method can return NULL if some
    cases... One case where this can happen is if the 'Content By
    Title' view is loaded in the WCM Authoring UI, then the
    Workspace.findByPath method is called passing in a path from one
    of the objects that was shown in the 'Content By Title' view
    

Problem conclusion

  • Analysis: The list of 'mandatory' properties to return when
    performing JCR queries with optional property retrieval did not
    include the 'ibmcontentwcm:name' property
    Solution: 'ibmcontentwcm:name' was added to the list of
    mandatory properties and the tracing within the
    ObjectSummaryTransformer class was modified to make it easier to
    detect similar errors in the future
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM07909

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    61B

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-19

  • Closed date

    2010-05-17

  • Last modified date

    2010-05-17

  • 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

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R61B PSY

       UP

  • R61C PSY

       UP

  • R615 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 May 2010