diff --git a/cms/djangoapps/contentstore/helpers.py b/cms/djangoapps/contentstore/helpers.py index 08e63a0fd62d..a1a2030f1b15 100644 --- a/cms/djangoapps/contentstore/helpers.py +++ b/cms/djangoapps/contentstore/helpers.py @@ -349,7 +349,7 @@ def _import_xml_node_to_parent( from cms.lib.xblock.tagging.tagged_block_mixin import TaggedBlockMixin if isinstance(new_xblock, TaggedBlockMixin): new_xblock.read_tags_from_node(node) - new_xblock.add_tags_from_xml() + new_xblock.add_tags_from_field() return new_xblock diff --git a/cms/lib/xblock/tagging/tagged_block_mixin.py b/cms/lib/xblock/tagging/tagged_block_mixin.py index ce203b2286d1..cdfe1e31f55e 100644 --- a/cms/lib/xblock/tagging/tagged_block_mixin.py +++ b/cms/lib/xblock/tagging/tagged_block_mixin.py @@ -36,7 +36,7 @@ def studio_post_duplicate(self, store, source_item): if hasattr(source_item, 'serialize_tag_data'): tags = source_item.serialize_tag_data() self.tags_v1 = tags - self.add_tags_from_xml() + self.add_tags_from_field() def serialize_tag_data(self): """ @@ -87,7 +87,7 @@ def read_tags_from_node(self, node): if 'tags-v1' in node.attrib: self.tags_v1 = str(node.attrib['tags-v1']) - def add_tags_from_xml(self): + def add_tags_from_field(self): """ Parse and add tag data from tags_v1 field """