Skip to content

Commit 3265461

Browse files
committed
[server] cremadev 의 devmode 바이너리 추출 시 편집 중인 이전의 데이터가 추출되는 버그 수정
### 재현 방법 1. 테이블을 편집하여 필드를 수정한다. 2. devmode 로 바이너리를 추출한다. (데이터가 올바르지 않음) 3. 필드를 수정한 후 편집을 종료한다. 4. 같은 테이블을 다시 편집한다. 5. devmode 로 바이너리를 추출한다. (데이터가 올바르지 않음)
1 parent 0fb4405 commit 3265461

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

server/Ntreev.Crema.Services/Data/DataServiceItemBase.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,7 @@ protected object ReadTable(string name, bool isDevmode)
246246
if (isDevmode == true && this.domainItems.ContainsKey(name) == true)
247247
{
248248
var domain = this.domainItems[name];
249-
if (this.tableDomainDatas.ContainsKey(name) == false)
250-
this.Serialize(domain);
249+
this.Serialize(domain);
251250
return this.tableDomainDatas[name];
252251
}
253252

0 commit comments

Comments
 (0)