Skip to content

ChildDataPortal.Update yield 'Cannot wait on monitors on this runtime' #4325

Answered by clodewyks
clodewyks asked this question in Questions
Discussion options

You must be logged in to vote

@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_Update which calls ChildDataPortal.Update which uses a Wait() .

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 the DataPortal, in this case a .NET Core API which allows waiting for monitors, so no issue with .Wait(). When running offline all DataPortal calls are on the client, blazor wasm, which does not support Wait().

In the current CSLA source, there is a BusinessBindingLIstBase.Child_Update…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@clodewyks
Comment options

@rockfordlhotka
Comment options

@clodewyks
Comment options

@clodewyks
Comment options

Answer selected by rockfordlhotka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants