This commit is contained in:
2020-12-19 01:08:51 +00:00
parent 821c632c0c
commit 5160a2ef4a

View File

@@ -2182,7 +2182,8 @@ namespace AyaNova.PlugIn.V8
dynamic d = new JObject(); dynamic d = new JObject();
//It's a Review / followup tied to another object that should have already been migrated //It's a Review / followup tied to another object that should have already been migrated
if (!Map.ContainsKey(c.FollowID)) { if (!Map.ContainsKey(c.FollowID))
{
progress.Append("FollowUp target missing; skipping export: ID " + c.ID.ToString() + ",targetid " + c.FollowID.ToString() + ",type " + c.FollowType.ToString()); progress.Append("FollowUp target missing; skipping export: ID " + c.ID.ToString() + ",targetid " + c.FollowID.ToString() + ",type " + c.FollowType.ToString());
continue; continue;
} }
@@ -2190,7 +2191,8 @@ namespace AyaNova.PlugIn.V8
//export //export
//FollowUps only ever apply to a single user in v7 so no need to split them out here it's just for one user //FollowUps only ever apply to a single user in v7 so no need to split them out here it's just for one user
if (!Map.ContainsKey(c.SourceID)) { if (!Map.ContainsKey(c.SourceID))
{
progress.Append("FollowUp User missing; skipping export: UserID " + c.SourceID.ToString()); progress.Append("FollowUp User missing; skipping export: UserID " + c.SourceID.ToString());
continue; continue;
} }
@@ -2276,6 +2278,7 @@ namespace AyaNova.PlugIn.V8
progress.Op("ScheduleMarker " + c.ID.ToString()); progress.Op("ScheduleMarker " + c.ID.ToString());
var rMainObject = await util.PostAsync("reminder", d.ToString()); var rMainObject = await util.PostAsync("reminder", d.ToString());
long RavenId = util.IdFromResponse(rMainObject); long RavenId = util.IdFromResponse(rMainObject);
if (!Map.ContainsKey(c.ID))
AddMap(c.ID, RavenId); AddMap(c.ID, RavenId);
await util.EventLog(util.AyaType.Review, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified); await util.EventLog(util.AyaType.Review, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
} }