set parentAsset (ManagedServer) for ManagedWebspaces BookingItems

This commit is contained in:
Michael Hoennig 2024-07-17 11:22:03 +02:00
parent eefde7443c
commit 2c34b577fb

View File

@ -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());
}
});
}