silverstripe/sapphire — pull request #1857 by MarcusDalgren (2013-05-08 23:51:41+00:00)
Title: Fix orphaned records when running update

When DataObject::update() is run with relation fields and the relationship
is new the relationship ID was not set on the DataObject. This patch fixes
this. Fixes issue 6195 in open.silverstripe.org (http://open.silverstripe.org/ticket/6195).