Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-532

Create temp directory when it does not exists

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1
    • None
    • None
    • None

      How to reproduce

      • Delete the temp directory (in tomcat)
      • Create content, edit and save

      Actual behavior

      • An error occured

      Expected behavior

      • No error
      • The content is saved

          [RUNTIME-532] Create temp directory when it does not exists

          ok

          The Servlet now creates the directory at java.io.tmpdir if it does not exist
          If the creation fails, only a warning is emitted to not break the whole application

          Cédric Damioli added a comment - ok The Servlet now creates the directory at java.io.tmpdir if it does not exist If the creation fails, only a warning is emitted to not break the whole application

          I do not agree
          Remove the 'temp' in your tomcat to reproduce it.
          Yes we can do something : we can create the dir (found by the java.tmp.dir or something like that property)

          Raphaël Franchet added a comment - I do not agree Remove the 'temp' in your tomcat to reproduce it. Yes we can do something : we can create the dir (found by the java.tmp.dir or something like that property)

          I cannot reproduce the problem

          Moreover, the application has no idea of where is the Tomcat (it does not even known if there is a Tomcat)

          Could you check again.
          If the probleme still occurs, we'll document it properly, but I'm afraid we van't do anything programatically

          Cédric Damioli added a comment - I cannot reproduce the problem Moreover, the application has no idea of where is the Tomcat (it does not even known if there is a Tomcat) Could you check again. If the probleme still occurs, we'll document it properly, but I'm afraid we van't do anything programatically

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: