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

Manage temporary files created under user profile dir on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3
    • Component/s: Image Management

      Description

      On windows temporary files are created under the user's profile directory which is of the form C:\\USERPR~1\\MyUser
      TMP

      When used in image component to compute image info, it causes an error in commandline service since it uses forbidden characters.

      Quick fix :

      line 196 of ImagingComponent
       
      imageInfo = ImageIdentifier.getInfo(cf.getFile().getAbsolutePath());
       
      =>
       
      imageInfo = ImageIdentifier.getInfo(cf.getFile().getCanonicalPath());
       
      

      Thx to Pierre Templier

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: