Skip to content

Downloading several workflows as a ZIP also saves every one of them as a separate .json file #7608

Closed

Description

@eugenegujing

What happened?

DownloadService.createWorkflowsZip builds the archive by piping each selected workflow through downloadWorkflow, and downloadWorkflow unconditionally saves the file to disk as a side effect. Selecting N workflows and choosing "download as ZIP" therefore triggers N individual .json downloads in addition to the zip.

The user asked for one file and gets N+1, cluttering the download folder (and, in browsers configured to prompt, producing N+1 save dialogs).

Expected: the ZIP download produces exactly one file.

How to reproduce?

  1. Log in and go to the workflow list.
  2. Select three workflows using their checkboxes.
  3. Click the bulk Download action (the one that produces a ZIP).

Observed: the browser downloads <name1>.json, <name2>.json, <name3>.json and the zip — four files.
Expected: one zip file.

Version/Branch

1.3.0-incubating-SNAPSHOT (main)

Commit Hash (Optional)

No response

What browsers are you seeing the problem on?

No response

Relevant log output

Activity

  1. added theissue type on Aug 13, 2026
  2. added a commit that references this issue on Aug 13, 2026
    310ab88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions