Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15402

The 'afterDownload' method is triggered even if the file is not downloaded from Artifactory

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 5.6.2, 6.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce:
      1. create a user plugin with the 'afterDownload' execution:

      download {
          afterDownload { request, response ->
             log.error("Test")
          }
      }
      

      2. Try to download a non-existing file
      3. See that the plugin is triggered (the log prints "Test")

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              itamarb Itamar Berman-Eshel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: