Skip to content

Commit

Permalink
temporarily disable treeroot writing
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonDavis committed Sep 28, 2023
1 parent 10d26d9 commit bf6ad50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sde_collections/models/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ def update_config_xml(self, original_config_string):
TITLE_RULES = self._process_title_list()
DOCUMENT_TYPE_RULES = self._process_document_type_list()

if self.tree_root:
editor.update_or_add_element_value("TreeRoot", self.tree_root)
# TODO: this was creating duplicates so it was temporarily disabled
# if self.tree_root:
# editor.update_or_add_element_value("TreeRoot", self.tree_root)

for url in URL_EXCLUDES:
editor.add_url_exclude(url)
Expand Down

0 comments on commit bf6ad50

Please sign in to comment.