-
|
Hello Again! We are experiencing a very similar issue to the previous discussion where it appears the sync operations which call Our app uses offline and online modes through We are experiencing an issue when saving a child object from within its parents DataPortal.Insert, it appears the synchronous Update method is being called on Here is the parent insert: And here is the Update method on the ClientBeneficiary object: When executing the InsertClientBeneficiary method we get the largely disliked The question is, why would it call the synchrounous update method? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
|
Reverse engineering |
Beta Was this translation helpful? Give feedback.
@rockfordlhotka we have been unable to create a minimal repo, but we have found the issue and have a temporary workaround:
The issue is, as expected,
BusinessBindingListBase.Child_Updatewhich callsChildDataPortal.Updatewhich uses aWait().This is where it gets interesting: Why is this only an issue when using offline? When using a remote
DataPortal, the parent call and all subsequent child calls are on theDataPortal, in this case a .NET Core API which allows waiting for monitors, so no issue with.Wait(). When running offline allDataPortalcalls are on the client, blazor wasm, which does not supportWait().In the current CSLA source, there is a
BusinessBindingLIstBase.Child_Update…