CollectionChanged during SaveAndMergeAsync #4169
Unanswered
lwmorris067
asked this question in
Questions
Replies: 1 comment
-
Hi. The Merger uses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just curious, do business rules run when the Merge portion of the SaveAndMergeAsync executes? I was having some really odd issues in my integration tests. I changed things over to SaveAsync and everythings works, but SaveAndMergeAsync gives me a CollectionChanged error from within CSLA.
Here what I get:
Csi.Waiver.Ui.Shared.IntegrationTests.Model.Case.Claims.Rules.ComputeAgeDisabledTests.Verify_Rule_Runs_After_Fetch
Source: ComputeAgeDisabledTests.cs line 16
Duration: 2.9 sec
Message:
System.InvalidOperationException : Collection was modified; enumeration operation may not execute.
Stack Trace:
Enumerator.MoveNextRare()
GraphMerger.MergeBusinessListGraph[T,C](T target, T source)
RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Beta Was this translation helpful? Give feedback.
All reactions