Cleanup existing attributes if needed on TBX import

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: TBX-Import

      Problem

      When a TBX file is imported into a TermCollection with deleteTermsOlderThanCurrentImport-config enabled, under the hood the import script checks if a specific term from TBX file already exists in TermCollection, and if yes - the existing term is kept intact instead of being deleted and created again. This is done that way for performance reasons. However, if the existing term has some attribute which no longer exists in TBX for the same term - then existing term is kept intact as well - which is a problem, because user expectation is that the TermCollection must be a reflection of the imported TBX, and if there is no some attribute (anymore) in TBX for a term - then there should be no that attribute (anymoree) in TermCollection.

      Solution

      Amend the import script so that the attributes that are not present in the imported TBX file - are deleted from the TermCollection.

            Assignee:
            Pavel Perminov
            Reporter:
            Pavel Perminov
            None
            None
            Thomas Lauria
            Stephan Bergmann, Sylvia Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None