diff --git a/code/model/Translatable.php b/code/model/Translatable.php index 0df9087..a5f5194 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -710,7 +710,12 @@ class Translatable extends DataExtension implements PermissionProvider { if(!$obj) continue; $obj->Locale = Translatable::default_locale(); - $obj->writeToStage($stage); + + $oldMode = Versioned::get_reading_mode(); + Versioned::reading_stage($stage); + $obj->writeWithoutVersion(); + Versioned::set_reading_mode($oldMode); + $obj->addTranslationGroup($obj->ID); $obj->destroy(); unset($obj);