EditLevelMismach exceptions after save #3580
Replies: 1 comment 6 replies
-
Switching from WCF to Http also means that you switched from NDCS (basically BinaryFormatter) to MobileFormatter. It is possible that some field in Still, it is almost certain that some value must not be flowing through serialization as expected. Are you saying that some graphs work and some don't? Can you identify any type in particular that is used only in the failing graphs? It might not be |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We've hit something odd while testing our app using http proxy after switching from wcf. I'm posting b/c we've hit this same issue on multiple forms/BOs, and while I'm sure it could be something in our code, its just unusual (and if we go back to WCF the exceptions go away).
The issue seems to be binding the object returned from calling Save on the BO; as soon as we set the BindingSource.DataSource to the newly returned object, we get an edit level mismatch exception. Fetching an object is fine, its just after the roundtrip saving.
I'm at a bit of a loss, b/c for the object graph i'm looking at, none of the BOs needed changes to work over httpproxy. They're pretty normal BOs.
As a bit of a wrinkle, if I enumerate all the child objects the root object has, they all have EditLevel 0, as does the root. So I'm even more confused.
.Net framework 4.7.2, Csla 5.4.2
Beta Was this translation helpful? Give feedback.
All reactions