Uploaded image for project: 'Opencast'
  1. MH-12261 Race condition leads to FileAlreadyExistsException and FileNotFoundException
  2. MH-12263

FileSupport > link - copy file action should use overwrite argument (Throws FileFileAlreadyExists)

    Details

    • Type: Sub-Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 2.3.2
    • Fix versions: 3.2
    • Components: Backend Software
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      package: org.opencastproject.util
      class: FileSupport
      method: public static File link(final File sourceLocation, final File targetLocation, final boolean overwrite)

      REF:
      https://docs.oracle.com/javase/tutorial/essential/io/copy.html
      Show
      package: org.opencastproject.util class: FileSupport method: public static File link(final File sourceLocation, final File targetLocation, final boolean overwrite) REF: https://docs.oracle.com/javase/tutorial/essential/io/copy.html

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              coosthuizen Corné Oosthuizen
              Reporter:
              coosthuizen Corné Oosthuizen
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases