diff --git a/Service/DCEntityMapper/PersonDC_Person.cs b/Service/DCEntityMapper/PersonDC_Person.cs index e154fdf8f..5cf0b5993 100644 --- a/Service/DCEntityMapper/PersonDC_Person.cs +++ b/Service/DCEntityMapper/PersonDC_Person.cs @@ -106,6 +106,10 @@ namespace BeWo.Service.DCEntityMapper pEntity.Oid = pDataContract.PersonOid; pEntity.DateOfBirth = pDataContract.DateOfBirth; + if (pEntity.DateOfBirth.HasValue) + { + pEntity.DateOfBirth = pEntity.DateOfBirth.Value.Date; // CB Bugfix, es gab mal den Fall, da war die Uhrzeit mit gespeichert und das führte zu Fehlern + } pEntity.PlaceOfBirth = pDataContract.PlaceOfBirth; pEntity.FirstName = pDataContract.FirstName; pEntity.Sex = pDataContract.Sex; diff --git a/Service/Service.csproj b/Service/Service.csproj index 4693ab2eb..c1ebee8f7 100644 --- a/Service/Service.csproj +++ b/Service/Service.csproj @@ -515,7 +515,8 @@ - + +