Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1767

Cloning of task where assigned tbx language resource has been deleted leads to failed import

      To reproduce:

      • Import a task
      • Assign termCollection and do termtagging
      • Delete the assigned termCollection from languageResources
      • Clone task

      Associated error messages:

      ERROR in editor.terminology.segmentediting: E1116 - Could not load TBX into TermTagger: TBX hash is empty.

      Solution:

      disallow TermCollection deletion if associated to a task.

      Following up problems (also solved)

      1. Import a task "A" with TBX
      2. A term collection is created automatically to that task
      3. Assign that auto created TC to another task "B"
      4. Delete Task "B", the TC will be deleted even it was auto created for task "A".

      Solution: the autoCreatedOnImport flag is set to false if the TermCollection is assigned to another task

      Another problem: On deleting TermCollections the TBX data on the disk was not deleted.

      Another problem: TermCollections createad via the filesystem importer were created with autoCreatedOnImport = true

          [TRANSLATE-1767] Cloning of task where assigned tbx language resource has been deleted leads to failed import

          There are no comments yet on this issue.

            tlauria Thomas Lauria
            marcmittag Marc Mittag [Administrator]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: