From f189e88a1c4054902fb728ea2129d4b4cb04e8e7 Mon Sep 17 00:00:00 2001 From: Emre Eren Date: Tue, 7 Jan 2014 21:25:34 +0200 Subject: [PATCH] update entitiy data fixed --- .../ActionProcessors/UdpateEntityData.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Samba.Modules.EntityModule/ActionProcessors/UdpateEntityData.cs b/Samba.Modules.EntityModule/ActionProcessors/UdpateEntityData.cs index d75dc39fd..e49e99c80 100644 --- a/Samba.Modules.EntityModule/ActionProcessors/UdpateEntityData.cs +++ b/Samba.Modules.EntityModule/ActionProcessors/UdpateEntityData.cs @@ -1,4 +1,5 @@ using System.ComponentModel.Composition; +using Samba.Domain.Models.Entities; using Samba.Domain.Models.Tickets; using Samba.Localization.Properties; using Samba.Presentation.Services; @@ -53,6 +54,10 @@ public override void Process(ActionData actionData) } } } + + var entity = actionData.GetDataValue("Entity"); + if (entity != null && entity.Id == entityId) + entity.SetCustomData(fieldName, value); } protected override object GetDefaultData()