I-GUIDE / catalog

The I-GUIDE Catalog is part of the I-GUIDE Platform and provides search, discovery, and dynamic interaction with resources created by or used by I-GUIDE researchers.
https://i-guide.io/platform/
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

URLs to files in HydroShare resources do not work #147

Closed horsburgh closed 6 months ago

horsburgh commented 6 months ago

When I register a HydroShare resource with the catalog, I see the list of files within the resource in the file browser on the Catalog's resource landing page. I can right click on a file and select "View Metadata", which shows me a modal form with the "Content URL" and "Encoding Format". The URL shows up as a link, but when I click on it, nothing happens. As a user, I would expect that the link would provide access to download the file.

image
Maurier commented 6 months ago

I tried this with another resource and it looks like the browser is blocking the request for security reasons. I'll see if there is a workaround. image

@horsburgh - It seems that these URLs are not landing pages for the files, bur rather download links. Do we want to indicate so?

horsburgh commented 6 months ago

@Maurier - correct, these are links to download individual files. I don't think we need to change the modal form because "Content URL" I think is descriptive that it is a URL to the content file. But, it would be good if the link worked to download the file.

There is some risk I suppose because those files could be large and downloading may take some time. Do we have information in the file level metadata about the size of the file that you could also put on that modal so a user would know how large the file is before they try to download?

Maurier commented 6 months ago

Yes, we are displaying this information below the file name, see the screenshot above.

Maurier commented 6 months ago

This has been fixed by making sure that the content is downloaded over https.