From 327a97f7c646384b9454ddc4679c42ed00e830ee Mon Sep 17 00:00:00 2001 From: cahrens Date: Wed, 23 Jul 2014 10:44:37 -0400 Subject: [PATCH] Failing test for create_item populating edit information. --- common/lib/xmodule/xmodule/modulestore/mongo/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/modulestore/mongo/base.py b/common/lib/xmodule/xmodule/modulestore/mongo/base.py index ac6e7d4740..6ca71dcd31 100644 --- a/common/lib/xmodule/xmodule/modulestore/mongo/base.py +++ b/common/lib/xmodule/xmodule/modulestore/mongo/base.py @@ -1011,8 +1011,7 @@ class MongoModuleStore(ModuleStoreDraftAndPublished, ModuleStoreWriteBase): xblock = self.create_xmodule(location, **kwargs) xblock = self.update_item(xblock, user_id, allow_not_found=True) - # Retrieve the item from the store so that it has edit info attributes - return self.get_item(xblock.location) + return xblock def create_child(self, user_id, parent_usage_key, block_type, block_id=None, **kwargs): """