From d401743cf43569e78e867d48e907a9701990887d Mon Sep 17 00:00:00 2001
From: Rodrigo <rodrigoaguileraparraga@gmail.com>
Date: Wed, 25 Mar 2015 16:52:28 +0100
Subject: [PATCH] Create a proper stub for the body value

---
 includes/migrate_default_content_stub.migrate.entity.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/migrate_default_content_stub.migrate.entity.inc b/includes/migrate_default_content_stub.migrate.entity.inc
index 91d5801..4909fc7 100644
--- a/includes/migrate_default_content_stub.migrate.entity.inc
+++ b/includes/migrate_default_content_stub.migrate.entity.inc
@@ -15,7 +15,7 @@ class defaultEntityWithStub extends defaultEntity {
   protected function createStub(Migration $migration, array $source_id) {
     $node = new stdClass();
     $node->title = t('Stub for @id', array('@id' => $source_id[0]));
-    $node->body[LANGUAGE_NONE][0] = t('Stub body');
+    $node->body[LANGUAGE_NONE][0]['value'] = t('Stub body');
     $node->type = $this->destination->getBundle();
     $node->uid = 1;
     $node->status = 0;