This commit is contained in:
2021-01-02 20:16:37 +00:00
parent 2e8ad171c8
commit 70d2b90598

View File

@@ -1700,7 +1700,9 @@ namespace AyaNova.PlugIn.V8
Unit c = Unit.GetItem(i.ID);
if (c.ParentID == Guid.Empty && c.ReplacedByUnitID == Guid.Empty) continue;
var ObjectTID = new TypeAndID(RootObjectTypes.Unit, c.ID);
dynamic d = util.GetAsync("unit/" + Getv7v8IdMap(c.ID, "Unit for parent / replaced by unit step 2 unit import").ToString());
var a = await util.GetAsync("unit/" + Getv7v8IdMap(c.ID, "Unit for parent / replaced by unit step 2 unit import").ToString());
dynamic d = a.ObjectResponse["data"];
progress.Op(ObjectTypeName + " " + d.serial);
d.replacedByUnitId = Getv7v8IdMapNullOk(c.ReplacedByUnitID);
d.parentUnitId = Getv7v8IdMapNullOk(c.ParentID);