Closed Daniel-Svensson closed 6 years ago
[danneesset@2016-04-17] The issue will be fixed in the next 4.5.0 release.
Now that the client targets .Net 4.5 and WPF supports INotifyDataErrorInfo in bindings by default there is no longer a reason to have different validation paths for the different platosm.
[danneesset@2016-04-17] Fixed in changeset 51a78a739191a00da43ef523008619952ffc3167
Issue closed by danneesset with comment Try out 4.5.0-beta3 it should solve the isse
Reason closed Fixed
Inside the file .\OpenRiaServices.DomainServices.Client\Framework\Silverlight\Data\Entity.cs there is a different way that validation is being handled.
Silverlight calls Validator.TryValidateProperty but (in my instance) WPF calls Validator.ValidateProperty.
Inside WPF the validation does not complete as an exception is being throw if the property representing the field is invalid.
Changing the code to call Validator.TryValidateProperty (to match the Silverlight platform) continues as I would have expected.
This work item was migrated from CodePlex
CodePlex work item ID: '91' Vote count: '1'