Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Clearing a has_many does not nil the object FKs, and loading a has_many adds DB objects in preference to in-memory objects

#1706

A response to the unexpected behaviour described in this mailing list thread.

First, the has_many delete_records method is patched to nil the foreign keys of the in-memory objects after they are NULLed in the database.

And second, the association_collection load_target method is patched to use in-memory objects in the collection in preference to objects from the database.

Reported by Mark Reginald James · January 7th, 2009 @ 03:05 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Frederick Cheung
    Frederick Cheung

    You didn't attach the patch :-)

    January 7th, 2009 @ 09:59 AM

  2. CancelProfileIsBroken
    CancelProfileIsBroken
    • State changed from new to invalid

    March 7th, 2009 @ 02:05 PM