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

On dataset view, cannot open image from thumbnail on a private dataset #2387

Open artntek opened 5 months ago

artntek commented 5 months ago

Describe the bug In the dataset view, I cannot open image from thumbnail on a private dataset

To Reproduce Steps to reproduce the behavior:

  1. Create a new dataset, and under "Share", make it private
  2. add an attachment (I used a png image)
  3. Save the dataset
  4. Browse the dataset, and scroll down to the bottom to see the section "Data Table, Image, and Other Data Details"
  5. Click on the thumbnail of your attachment

Expected behavior The image should open up full size

Observed behavior

Screenshots Screenshot 2024-04-22 at 5 03 06 PM

I tried this on https://knb-dev.test.dataone.org/, and also on https://test.arcticdata.io - both running metacatui 2.28.0 Desktop (please complete the following information):

artntek commented 5 months ago

Just to make sure this wasn't something we broke in metacat 3.0.0, I also verified that the same thing happens on https://mn-demo-6.test.dataone.org/metacatui, which is running the metacat 2.19 release. (Note that it's running an old metacatui version: 2.23.0)