Skip to content

Fix downloading single attachment with "Download All" on Firefox#6619

Merged
alesan99 merged 4 commits intomainfrom
issue-6536
Sep 29, 2025
Merged

Fix downloading single attachment with "Download All" on Firefox#6619
alesan99 merged 4 commits intomainfrom
issue-6536

Conversation

@alesan99
Copy link
Copy Markdown
Contributor

Fixes #6536

It appears Firefox is stricter about downloading files from iframes than Chrome.
No other file downloads in Specify should be affected by this bug, since this was a unique case of a file being downloaded from a URL rather than being created by the front end (aka exports like CSVs).

Checklist

  • Self-review the PR after opening it to make sure the changes look good and
    self-explanatory (or properly documented)
  • Add relevant issue to release milestone
  • Add relevant documentation (Tester - Dev)
  • Add automated tests
  • Add a reverse migration if a migration is present in the PR

Testing instructions

  • Use Firefox
  • Go to a record with a single attachment
  • Click on the gallery button
    image
  • Click "Download All"
  • Make sure the attachment was downloaded (it shouldn't be in a zip file)
  • Make sure it works on Chrome too

NOTE: This should be tested on the test panel. I don't believe the issue can be recreated locally, but you can make sure you are testing it correctly by recreating the original issue.

@alesan99 alesan99 added this to the 7.12.0 milestone Jun 11, 2025
@github-project-automation github-project-automation bot moved this to 📋Back Log in General Tester Board Jun 11, 2025
@alesan99 alesan99 marked this pull request as ready for review June 11, 2025 14:41
@alesan99 alesan99 requested review from a team June 11, 2025 14:41
Copy link
Copy Markdown
Contributor

@pashiav pashiav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Make sure the attachment was downloaded (it shouldn't be in a zip file)
  • Make sure it works on Chrome too

Looks good - working on both Firefox and Chrome!

Screen.Recording.2025-06-11.at.1.12.44.PM.mov

@pashiav pashiav requested a review from a team June 11, 2025 18:13
@combs-a
Copy link
Copy Markdown
Collaborator

combs-a commented Jun 24, 2025

Couldn't recreate the issue on production personally so I can't test this PR; I'm on Firefox version 139.0.4 which is one ahead of the version reported in the issue. Noting this in case others have issues recreating the issue.

Copy link
Copy Markdown
Collaborator

@bhumikaguptaa bhumikaguptaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Make sure the attachment was downloaded (it shouldn't be in a zip file)
  • Make sure it works on Chrome too

Looks good!

@alesan99 alesan99 merged commit e782b1c into main Sep 29, 2025
14 checks passed
@alesan99 alesan99 deleted the issue-6536 branch September 29, 2025 14:20
@github-project-automation github-project-automation bot moved this from 📋Back Log to ✅Done in General Tester Board Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅Done

Development

Successfully merging this pull request may close these issues.

Download All button does nothing when there is only one attachment previewed

5 participants