artifactory-client-java
artifactory-client-java copied to clipboard
doUploadAndExplode doesn't invoke Listener
Describe the bug listener is ignored if uploaded with doUploadAndExplode
To Reproduce this logs:
var uploaded = artifactory
.repository(repositoryName)
.upload(targetPath, file)
.withListener((bytesRead, totalBytes) -> {
log.debug("Artifactory ({} / {})", bytesRead, totalBytes);
})
.doUpload();
but this doesn't:
var uploaded = artifactory
.repository(repositoryName)
.upload(targetPath, file)
.withListener((bytesRead, totalBytes) -> {
log.debug("Artifactory ({} / {})", bytesRead, totalBytes);
})
.doUploadAndExplode(true);
also it would be more consistent if both methods would have the same return type
Expected behavior listener should be invoked also with the explode feature.
Versions
- Artifactory Java Client version: 2.19.1
- Operating system: WIN11pro
- Artifactory Version: Enterprise Plus 7.77.14 rev
This issue has been marked as stale due to 6 months of inactivity. As part of our effort to address every issue properly, please feel free to remove the stale label or keep this issue active by leaving a comment. Otherwise, it will be closed in 7 days
Still buggy