OK, that was a bug where it breaks down a save dependency into a hierarchical graph of smaller dependencies, when you have a circular mapper going...it was forgetting about all the other dependent operations on the original save dependency.   my three current tests for self-referring mappers didnt take this case into account....so your test is working now if you update.

Also, you want to change

  rdb.Column('selfref_id', rdb.Integer, rdb.ForeignKey('t1')),

to 

  rdb.Column('selfref_id', rdb.Integer, rdb.ForeignKey('t1.id')),

since it otherwise looks for a column of the same name, i.e. creates a reference to itself.  the 'primaryjoin' criterion you have in the mapper is overriding it anyway.

On Jan 19, 2006, at 8:13 PM, [EMAIL PROTECTED] wrote:

  rdb.Column('selfref_id', rdb.Integer, rdb.ForeignKey('t1')),


Reply via email to