[RTFACT-15402] The 'afterDownload' method is triggered even if the file is not downloaded from Artifactory Created: 03/Dec/17  Updated: 11/Oct/18

Status: Open
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: 5.6.2, 6.2.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Itamar Berman-Eshel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:


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

download {
    afterDownload { request, response ->

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

Generated at Tue Aug 11 16:56:26 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.