silverstripe/sapphire — pull request #1307 by ss23 (2013-03-19 11:13:26+00:00)
Title: BUG Set ID field in parent DataObject(fixes #6195)

See http://open.silverstripe.org/ticket/6195

FYI, I haven't tested this or anything, just making a pull request so this bug can be dealt with (either closed or fixed, etc). Relying on Travis to tell me if it breaks things.