set parentAsset (ManagedServer) for ManagedWebspaces BookingItems
This commit is contained in:
parent
eefde7443c
commit
2c34b577fb
@ -338,7 +338,9 @@ public class ImportHostingAssets extends CsvDataImport {
|
|||||||
final var haType = determineHaType(basepacket_code);
|
final var haType = determineHaType(basepacket_code);
|
||||||
if (haType == MANAGED_WEBSPACE) {
|
if (haType == MANAGED_WEBSPACE) {
|
||||||
final var managedWebspace = pac(packet_id);
|
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());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user