Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7358

FileDistributionPackageBuilder fails with no temp directory configured

    XMLWordPrintableJSON

Details

    Description

      When no temp directory is configured the FileDistributionPackageBuilder uses null to create a new temp file which, according to the java docs will use the default temp directory.

      On the other hand reading the file internally uses the File constructor passing null as directory to it. This causes a non-existing file to be returned.

      Attachments

        Issue Links

          Activity

            People

              diru Dirk Rudolph
              diru Dirk Rudolph
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: