Skip to content

Script Builder bulk package download button only downloads the first package #470

@st3phhays

Description

@st3phhays

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

When using Script Builder with multiple packages, and trying to use the "Download Packages" button on Step 4 of the modal (any integration method other than Individual), it only triggers one package to download.

What is Expected?

Behind the scenes, this is trying to download multiple files at once. This is often not allowed or blocked by the browser. We should instead look to zip up these files and serve a final .zip file instead.

How Did You Get This To Happen?

  1. Add multiple (at least 2) packages to Script Builder.
  2. Open the modal and choose any integration method other than individual.
  3. On Step 4, expand "Option 1" or "Option 2" and click the "Download Packages" button.
  4. Notice how only 1 package is downloaded, and not all the packages that are in Script Builder.

System Details

n/a

Installed Packages

choco-theme 1.3.1

Output Log

n/a

Additional Context

This was found when writing Playwright tests.

┆Issue is synchronized with this Github issue by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - BacklogIssue is accepted, but is not ready to be worked on or not in current sprint.BugIssues where something has happened which was not expected or intended.ChocolateyHomePackageCoreIssues relating to the @chocolatey-software/core package.PackageRootIssues relating to the root source code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions