diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportHostingAssets.java b/src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportHostingAssets.java index 715e5db2..e359850d 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportHostingAssets.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportHostingAssets.java @@ -338,7 +338,9 @@ public class ImportHostingAssets extends CsvDataImport { final var haType = determineHaType(basepacket_code); if (haType == MANAGED_WEBSPACE) { final var managedWebspace = pac(packet_id); - managedWebspace.setParentAsset(hive(hive_id).serverRef.get()); + final var parentAsset = hive(hive_id).serverRef.get(); + managedWebspace.setParentAsset(parentAsset); + managedWebspace.getBookingItem().setParentItem(parentAsset.getBookingItem()); } }); }