Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
artntek opened this issue Apr 23, 2024 · 1 comment
Open
Labels
bug dataset landing page Enhancements and bugs for the dataset landing pages
Milestone

Comments

@artntek
Copy link

artntek commented Apr 23, 2024

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

  • I get a dialog saying "The requested content cannot be loaded. Please try again later."
  • See attached image that shows this dialog, and also shows the headers for the failed request. Metacat responds with HTTP 401 ("Unauthorized")
  • I am able to download the image with no problems, however, if I click on the download button.

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):

  • OS: MacOS Sonoma 14.4.1
  • Browser chrome version 124.0.6367.62, and safari version 17.4.1
@artntek artntek added the bug label Apr 23, 2024
@robyngit robyngit added this to the 2.30.0 milestone Apr 23, 2024
@robyngit robyngit added the dataset landing page Enhancements and bugs for the dataset landing pages label Apr 23, 2024
@artntek
Copy link
Author

artntek commented Apr 23, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dataset landing page Enhancements and bugs for the dataset landing pages
Projects
None yet
Development

No branches or pull requests

2 participants