My Oracle Support Banner

Repeating the Export/Import of a Space Wipes Out the Documents from the Space in the Target, Merge is Not Possible (Doc ID 1557211.1)

Last updated on SEPTEMBER 18, 2019

Applies to:

Oracle WebCenter Portal - Version to [Release 11g]
Information in this document applies to any platform.


Product & version : Oracle WebCenter Portal (WCP)

Repeating the export/import of a WebCenter Portal Space wipes out the documents from the Space in the target.
So, import does not merge content from the target Space with the content from the source.

This was working fine in WebCenter Portal Patch Set 3 (PS3).

Keep the Content from the Target and merge content from the import.


 The issue can be reproduced at will with the following steps:

  1. Create a Space in WebCenter Portal PS5.
  2. Create a folder and add some documents in the space.
  3. Export/import the space.
  4. Export/Import the content using java -jar content-migration-tool.jar.
  5. Confirm the target space looks good and it has the folder and files.
  6. Upload some files to the space in the target to simulate end user loading files to the space.
  7. Repeat the Import of Space (.ear) file from the UI.
    On import the following message is reported:

    Confirm Replace Space
      Import archive contains the following space(s) that already exist in the target application.
      . GS_TestExport will replace GS_TestExport
      Do you want to continue and replace the space(s) listed above?

    Unfortunately, there is no option to merge the content.

  8. If user chooses to continue with the import then folder and documents in the Space are wiped out.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.