dfaruque / Serenity.Extra

Name of the repo says that this is an EXTRA of http://serenity.is platform
60 stars 34 forks source link

Two level master-detail relationship #39

Closed muhammedyaman closed 4 years ago

muhammedyaman commented 4 years ago

Hi @dfaruque I am using 2 level master-detail relation. I have a problem... My detail2 entity saves successfully. Master dialog saves successfully but only for the first click. When i update for the second time it doesnt do update. I traced my server and i found out that it doesnt update. It deletes and then inserts with only the detail1 ID... PS: I am using ser.extra editorgridbase for detail1 and detail2. And _Ext.dialogbase for master dialog

muhammedyaman commented 4 years ago

I am sorry this is another rookie mistake. I was using OnReturn with select statement. I didnt include foreign key field in that select statement. Now its working fine.