Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

doUploadAndExplode doesn't invoke Listener

Open
#395 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Start at the upload(...).withListener(...).doUploadAndExplode(true) entry point and compare its listener handling with doUpload(). Verify that the listener is invoked during the explode flow, and check whether the two methods' return types can be made consistent.

Written by the indexing model from the issue text.

Description

bug

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
Dominant language
Java
Stars
331
Forks
164
Avg merge
20h 9m
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jfrog/artifactory-client-java

All issues in jfrog/artifactory-client-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.