Skip to main content

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

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM Web Content Manager


Software version:
7.0


Reference #:
PM77815


Modified date:
2012-12-03

Translate my page

Content navigation