From 4d3fcdf672e3e678be28da0e10d5494b4cc62a73 Mon Sep 17 00:00:00 2001 From: "Jason.Chickneas" Date: Mon, 24 Jun 2024 08:58:30 -0700 Subject: [PATCH] bf: handle mixed bag of children with and without ids --- src/Synchronizer.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Synchronizer.ts b/src/Synchronizer.ts index 2a61b43..3d39776 100644 --- a/src/Synchronizer.ts +++ b/src/Synchronizer.ts @@ -789,6 +789,10 @@ export class Synchronizer { if (stat !== IModelStatus.Success) { return stat; } + } else if (childRes.itemState === ItemState.New) { + const stat = this.insertResultsIntoIModel(childRes, parentAspectProps); + if (stat !== IModelStatus.Success) + return stat; } } return IModelStatus.Success;