Skip to content

[MDS-6886] Files with versions in bulk download are not downloading#3890

Merged
asinn134 merged 2 commits intodevelopfrom
mds-6886-project-docs-fail-download
Apr 22, 2026
Merged

[MDS-6886] Files with versions in bulk download are not downloading#3890
asinn134 merged 2 commits intodevelopfrom
mds-6886-project-docs-fail-download

Conversation

@asinn134
Copy link
Copy Markdown
Collaborator

@asinn134 asinn134 commented Apr 17, 2026

Objective

MDS-6886

  • Found out for files with versions when it comes to bulk download row selection it selects the original version of the file and not the latest. This also meant when our code tries to put together a list of document_manager_guids to send to the back end the files with versions would always have their document_manager_guid filtered out because the object does not have the property is_latest_version so it always just defaults to false for that conditional check.

  • Adding logic to normalize row selection for bulk downloads to make sure files with versions will have their latest selected and not the original version.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'bcgov-sonarcloud_mds_minespace-web'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

@asinn134 asinn134 merged commit 891bb59 into develop Apr 22, 2026
16 checks passed
@asinn134 asinn134 deleted the mds-6886-project-docs-fail-download branch April 22, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants