IBM Support

PM11166: WCM API LIBRARYSERVICE.COPYLIBRARY FAILS WITH INVALIDLIBRARYNAME EXCEPTION WITH SOME LOCALES

 

APAR status

  • Closed as program error.

Error description

  • The WCM API LibraryService.copyLibrary method utilises the
    specified locale to construct the date string used as a suffix
    when specifying the copied libraries name. This can cause an
    InvalidLibraryNameException if the locale uses characters in
    the
    date string that are not allowed by JCR when naming libraries.
    

Local fix

Problem summary

  • The WCM API LibraryService.copyLibrary method utilises the
    specified locale to construct the date string used as a suffix
    when specifying the copied libraries name. This can cause an
    InvalidLibraryNameException if the locale uses characters in the
    date string that are not allowed by JCR when naming libraries.
    

Problem conclusion

  • Analysis: The LibraryService.copyLibrary API method constructs
    the newly copied libraries name by appending 'COPY -' (in
    English) to a current date string using the specified new
    libraries locale. As the date string can contain characters not
    allowed in library names, the locale used for the date string
    should be hardcoded to English.
    
    Solution: As above
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM11166

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    61B

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-31

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R61A PSY

       UP

  • R61B PSY

       UP

  • R61C PSY

       UP

  • R610 PSY

       UP

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

Document Information

Modified date:
09 September 2020