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

Import Archive for single uploads misses files and can not be reimported

    XMLWordPrintable

Details

    • Low

    Description

      problem

      The generated Import Archive of Tasks created with single upload can not be directly reused for import, and also in VisualReview and/or Okapi context relevant files are missing.

      Background: the import archive for ZIP uploads is created by just copying the uploaded ZIP, everything is fine then.
      So the first problem is, that on single Uploads the ZIP is created from the temporary importDirectory where all uploaded files has to be store manually. This leads to the unwanted "_tempImport" directory prefix in the so generated ZIP.
      The second problem is the point of time when the archiving is invoked: its just to early, since the VisualReview Plugin is responsible to handle the uploaded PDF file. When the archive is created, the PDF is just not copied/moved to the _tempImport folder.

      This also blocks the clone functionality.

      solution

      problem 1

      See Comment https://jira.translate5.net/browse/TRANSLATE-764?focusedCommentId=18902&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-18902 for solution

      problem 2

      The VisualReview Plugin should add the single uploaded PDF to the ArchiveZip - if it does exist.

       

      Attachments

        Issue Links

          Activity

            People

              tlauria Thomas Lauria
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: