-
Notifications
You must be signed in to change notification settings - Fork 183
System.InvalidOperationException: The requested key attributes do not exist for the entity #470
Comments
Hello Roman, Best regards, |
That worked. Thank you! Another related finding:
And init the metadata like this:
I am getting errors at context.InitializeMetadata(assembly) like:
If I remove Object property and use nullable bool property it works... |
Hello, |
Thank you for explanation. Makes sense! One more question. Fake Context Shouldn't fake context also throw the same type of exception FaultException? Final Finding
|
We are also affected by this issue. I guess it can be fixed by just adding a
|
Dear @SvenRahnSIT this issue tracker is for the deprecated v1.x version. In case you're using version 2 or later we have another issue tracker here: https://github.com/DynamicsValue/fake-xrm-easy. If you're a commercial customer please drop us an email at support@dynamicsvalue.com |
Hi,
Another "attribute related" issue I guess :)
Found nothing while googling...
I'm using early-bound types and getting the "System.InvalidOperationException: The requested key attributes do not exist for the entity contact" error.
An exception is thrown at FakeXrmEasy.XrmFakedContext.GetRecordUniqueId(EntityReference record, Boolean validate) call.
I'm using:
Crm Sdk Assemblies: v8.2.0.2
FakeXrmEasy.365: v1.55.0
FakeItEasy: v3.2.0
My library is targeting .Net v.4.5.2
The code is below
Thanks!
The text was updated successfully, but these errors were encountered: