Hi
We have just migrated from contracts to entitlements, like many others probably. However, we have now found an issue that we did not pick up in testing.
Basically, when a case is created, if the customer has no entitlements on the system then the case form will let the user create the case with leaving the entitlement blank. If the customer has entitlements (we typically have about 4 entitlements per customer, covering different products) everything is fine if one of the entitlements is selected. If the entitlement field is left blank, then we get an 'unexpected error'.
Has anyone come across a similar issue?
Thanks, Will
PS Error log file is as follows...
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An unexpected error occurred.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>An unexpected error occurred.</Message>
<Timestamp>2015-08-12T15:05:07.843068Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>
[Microsoft.Crm.Service.ObjectModel: Microsoft.Crm.Service.ObjectModel.CasePreCreatePlugin]
[599729e0-4ccd-472b-8133-ddec4eb1452d: CasePreCreatePlugin]
</TraceText>
</OrganizationServiceFault>