Import content: Imported content appears in 2 different locations

Found in

EPiServer.CMS.Core 11.20.3

Fixed in

EPiServer.CMS.Core 11.20.3

Created

Dec 11, 2020

Updated

Jan 18, 2021

Area

CMS Core

State

Closed, Fixed and tested


Description

Steps to reproduce:

  1. SiteA is configured to use site-specific assets
  2. Page1 has English version only, and it contains 4 related contents (blocks and an images from both "For all sites" and "For this site" folders).
  3. I export Page1 with its related contents.
  4. I move all related blocks and images of Page1 to Trash folder
  5. Import Page1 to SiteA with "Update existing content items with matching ID" checked.
  6. I will get warning Property 'EPi:SystemReference' does not exist on destination content type. But there are still 4 contents imported.
  7. In Edit, I can see all related contents of Page1 existing in "For all sites" and "For this site".
  8. And I also see all related contents of Page1 in Trash. They appear in both Trash and assets folders. And in Trash folder, I cannot restore them or empty trash.
  9. I restart IIS from Web server. And then, all related contents of Page1 are no longer in Trash. They appear only in "For all sites" and "For this site" folders.

Expected:
After step #6, all related contents of Page1 are in "For all sites" and "For this site" folders. They shouldn't be in Trash folder.