[sqlalchemy] Re: 0.5.0 polymorphic merge problem or bug

2009-01-13 Thread Duder
Ok I was wrong about the problem being present in the merge() function. The problem is only present in my custom merge() function. Thanks for your help. On Jan 13, 12:08 am, Duder dthomp...@gmail.com wrote: I am using the merge() function to merge the de-serialized object into the session. I

[sqlalchemy] Re: 0.5.0 polymorphic merge problem or bug

2009-01-12 Thread Michael Bayer
On Jan 12, 2009, at 11:37 PM, Duder wrote: missing from the object, so it is generating bad SQL. Is this a bug, or do I need to change something to be compatible with 0.5.0? its impossible to say without a full reproducing test case. I've tried many versions of the test below and none

[sqlalchemy] Re: 0.5.0 polymorphic merge problem or bug

2009-01-12 Thread Michael Bayer
I have detected the sole codepath which does in fact produce the output you've seen which is also erroneous. That issue is fixed in r5661. However, the reproduction of the bug is doesn't appear possible with the scenario you describe, which suggests that your serialization/merge scheme