Recursive save tries to save empty entities

Posts   
 
    
Rodtan
User
Posts: 1
Joined: 02-Aug-2007
# Posted on: 14-Apr-2009 14:16:54   

I'm not yet sure what causes this... When calling a recursive save I get an error sayin I'm trying to save a related object with only NULL values, which of course causes a primary key violation.

So for a quick fix I'm wondering if anybody else has experienced this behaviour, and if it is in any way possible to skip saving the empty entities without interrupting the recursive save. I'm able to catch these entities in the OnSave event.

I'm running LLBLGen Pro 2.0.0.0

I'll keep you updated. simple_smile

Rodtan

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 14-Apr-2009 19:19:08   

Hi Rodtan,

Fisrt of all, please update to the lastest runtime library version at v2.0's downloads section and try again, as this sounds like a bug which was fixed time ago.

If that doesn't fix the issue, please post the exact exception message and stack trace.

David Elizondo | LLBLGen Support Team