[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:
Dependency

 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")


Generated at Tue Jan 21 12:29:39 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.