Implement remove BCF related topic

This commit is contained in:
Dion Moult
2020-12-28 19:56:57 +11:00
parent ea83238e7a
commit 37e56c4011
4 changed files with 23 additions and 5 deletions
+1
View File
@@ -537,6 +537,7 @@ class BcfXml:
topic_filepath = os.path.join(self.filepath, topic.guid)
filename = os.path.basename(document_reference.referenced_document)
copyfile(document_reference.referenced_document, os.path.join(topic_filepath, filename))
document_reference.referenced_document = filename
document_reference.is_external = False
else:
document_reference.is_external = True