PM77815: COPYLIBRARY API METHOD INCORRECTLY COPIES THE VERSION HISTORY PR OPERTY OF EACH ITEM

 

APAR status

  • Closed as program error.

Error description

  • The WCM public API method WebContentLibraryService.copyLibrary
    incorrectly preserves the version history property of each
    copied item. If the copied items are then modified and saved, a
    new version will incorrectly be created on the source item
    instead of the newly created item (as the internal version
    history property still references the version history object
    from the original item in the repository).
    
    Note: Because the copyLibrary method uses the library export
    functionality to extract the source data, only the current
    version of each item is expected to be exported (and all version
    history will be ignored).
    

Local fix

Problem summary

  • The WCM public API method WebContentLibraryService.copyLibrary
    incorrectly preserves the version history property of each
    copied item. If the copied items are then modified and saved, a
    new version will incorrectly be created on the source item
    instead of the newly created item (as the internal version
    history property still references the version history object
    from the original item in the repository).
    
    Note: Because the copyLibrary method uses the library export
    functionality to extract the source data, only the current
    version of each item is expected to be exported (and all version
    history will be ignored).
    

Problem conclusion

  • The code was updated to ensure the internal version history
    property is not ignored and not being copied for each processed
    item during the library export.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM77815

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-27

  • Closed date

    2012-11-28

  • Last modified date

    2012-12-03

  • 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

  • R700 PSY

       UP

Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Web Content Manager

Software version:

7.0

Reference #:

PM77815

Modified date:

2012-12-03

Translate my page

Machine Translation

Content navigation