My product has been live for quite some time. I am now getting an error thrown on validation, which I doubt it actually is. When the user modifies one specific entity and tries to save a "Save failed - Entity Validation Failure(s)" error is thrown.
The problem is that it doesn't say which entity. I have checked the entire PersistenceManager.DataSet to see if I could find the issue and I cannot.
I have tried looking for the entities in the PM with the rowstate of modified and looking at it's properties and there is no issue. I have validated that entity by forcing validation to see if it returns the validation error and it does not. But, on save after this entity has been modified there is an error.
SaveResult:
Failed - Normal Error: Save failed - Entity Validation Failure(s)
Stack Trace:
at IdeaBlade.Persistence.PersistenceManager.DoSaveDataSet(IEnumerable pDataRows, SaveOptions pSaveOptions)
at IdeaBlade.Persistence.PersistenceManager.SaveChanges(IEnumerable pDataRows, SaveOptions pSaveOptions)
at IdeaBlade.Persistence.PersistenceManager.SaveChanges()
at LOC.CEMS.EventManagement.EventManagementPageController.SaveHandler(Object sender, EventArgs e) in C:\Development\CEMS\Source\UI\EventManagement\PageControllers\Event\EventManagementPageController.cs:line 3