NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
41 stars 27 forks source link

Issues downloading single object from nested dataset #2424

Closed rushirajnenuji closed 1 month ago

rushirajnenuji commented 4 months ago

@mbjones reported:

https://doi.org/10.18739/A2VH5CJ8K. When I go to that dataset, I run into the problem that clicking the download button on a single image file actually downloads an entire data package in zip format: For this dataset, that is a huge difference in size, and unexpected behavior. Here's an image of the UI that I clicked for image AP350:

image-download

Expected behavior Download single file of interest to the user not the entire package.

@robyngit verified this was introduced with the latest file hierarchy changes.

Slack thread: link

Other FH downloading issues:

Other nested packages issue/s: