Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26709

Fix LibreOffice user profile deletion

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Temporary folder used by LibreOffice conversion is purged.
    • Tags:
    • Backlog priority:
      500
    • Sprint:
      nxfit 11.1.2
    • Story Points:
      2

      Description

      LibreOffice requires a distinct user profile to run concurrent conversions: this requirement was implemented by NXP-26306. However the temporary folder created for this user profile is not correctly deleted once the conversion is finished.
       

      While debugging, it appears that the path stored in the command parameters is not correctly "decoded". The consequence is that an incorrect Unix path is tested and the folder deletion fails.

      A simple fix could be to replace

      Paths.get(tempPath)
      

      by

      Paths.get(new URI(tempPath))
      

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h