This commit is contained in:
@@ -1700,7 +1700,8 @@ namespace AyaNova.PlugIn.V8
|
|||||||
Unit c = Unit.GetItem(i.ID);
|
Unit c = Unit.GetItem(i.ID);
|
||||||
if (c.ParentID == Guid.Empty && c.ReplacedByUnitID == Guid.Empty) continue;
|
if (c.ParentID == Guid.Empty && c.ReplacedByUnitID == Guid.Empty) continue;
|
||||||
var ObjectTID = new TypeAndID(RootObjectTypes.Unit, c.ID);
|
var ObjectTID = new TypeAndID(RootObjectTypes.Unit, c.ID);
|
||||||
var a = await util.GetAsync("unit/" + Getv7v8IdMap(c.ID, "Unit for parent / replaced by unit step 2 unit import").ToString());
|
long ThisUnitRavenId= Getv7v8IdMap(c.ID, "Unit for parent / replaced by unit step 2 unit import");
|
||||||
|
var a = await util.GetAsync("unit/" + ThisUnitRavenId.ToString());
|
||||||
dynamic d = a.ObjectResponse["data"];
|
dynamic d = a.ObjectResponse["data"];
|
||||||
|
|
||||||
progress.Op(ObjectTypeName + " " + d.serial);
|
progress.Op(ObjectTypeName + " " + d.serial);
|
||||||
@@ -1710,7 +1711,7 @@ namespace AyaNova.PlugIn.V8
|
|||||||
await util.PutAsync("unit", d.ToString());
|
await util.PutAsync("unit", d.ToString());
|
||||||
//-----
|
//-----
|
||||||
//Event log fixup
|
//Event log fixup
|
||||||
await util.EventLog(util.AyaType.Unit, d.id, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
|
await util.EventLog(util.AyaType.Unit, ThisUnitRavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion Units
|
#endregion Units
|
||||||
|
|||||||
Reference in New Issue
Block a user