#78 Delete related join entries on destroySelf()

closed-accepted
None
5
2006-11-10
2006-11-09
No

If you create a class with related joins and use them,
the entries on the intermediate table won't be deleted
along with the object itself. I have found this really
annoying.

Attached patch deletes these related join rows from all
objects refering to the object being destoyed and from
the joins of the object itself.

The patch is against SQLObject subversion head as of
9th November 2006.

Discussion

  • Markus Niemistö

    New patch with a small bug fixed

     
  • Oleg Broytman

    Oleg Broytman - 2006-11-10

    Logged In: YES
    user_id=4799

    Applied and committed in the revisions 2072-2074. Many
    thanks! I added a test, see test_delete.py.

     
  • Oleg Broytman

    Oleg Broytman - 2006-11-10
    • assigned_to: nobody --> phd
    • status: open --> closed-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks