silverstripe/silverstripe-framework — pull request #3696 by jonom (2014-11-30 11:45:50+00:00)
Title: FIX: Initial write with writeToStage()

Fixes #3695

I'm not sure if checking whether the object has been written yet should be done here or in the writeToStage() function. Seek feedback.