From 681eddf87d9f0517884edb5670d0c43b1e61bafa Mon Sep 17 00:00:00 2001 From: powerumc Date: Tue, 13 Aug 2019 11:41:37 +0900 Subject: [PATCH] =?UTF-8?q?[server]=20cremadev=20=EC=9D=98=20devmode=20?= =?UTF-8?q?=EB=B0=94=EC=9D=B4=EB=84=88=EB=A6=AC=20=EC=B6=94=EC=B6=9C=20?= =?UTF-8?q?=EC=8B=9C=20=ED=8E=B8=EC=A7=91=20=EC=A4=91=EC=9D=B8=20=EC=9D=B4?= =?UTF-8?q?=EC=A0=84=EC=9D=98=20=EB=8D=B0=EC=9D=B4=ED=84=B0=EA=B0=80=20?= =?UTF-8?q?=EC=B6=94=EC=B6=9C=EB=90=98=EB=8A=94=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### 재현 방법 1. 테이블을 편집하여 필드를 수정한다. 2. devmode 로 바이너리를 추출한다. (데이터가 올바르지 않음) 3. 필드를 수정한 후 편집을 종료한다. 4. 같은 테이블을 다시 편집한다. 5. devmode 로 바이너리를 추출한다. (데이터가 올바르지 않음) --- server/Ntreev.Crema.Services/Data/DataServiceItemBase.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/Ntreev.Crema.Services/Data/DataServiceItemBase.cs b/server/Ntreev.Crema.Services/Data/DataServiceItemBase.cs index 488caa8f9..1bfce1bd2 100644 --- a/server/Ntreev.Crema.Services/Data/DataServiceItemBase.cs +++ b/server/Ntreev.Crema.Services/Data/DataServiceItemBase.cs @@ -246,8 +246,7 @@ protected object ReadTable(string name, bool isDevmode) if (isDevmode == true && this.domainItems.ContainsKey(name) == true) { var domain = this.domainItems[name]; - if (this.tableDomainDatas.ContainsKey(name) == false) - this.Serialize(domain); + this.Serialize(domain); return this.tableDomainDatas[name]; }