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

Problems with downloading dataset resource files via dataset detail page #72

Open
neuronick opened this issue Mar 24, 2021 · 0 comments
Labels
bug Something isn't working frontend

Comments

@neuronick
Copy link

When clicking on the dataset file resource (distribution) link, no download happens in Chrome and an error about Mixed content is generated, if DKAN2 accessed via HTTPS (e.g: https://demo.getdkan.org). There is also a warning being generated on click: "Resource interpreted as Document but transferred with MIME type text/csv"

To Reproduce
Steps to reproduce the behavior:

  1. Go to dataset detail page (e.g.: https://demo.getdkan.org/dataset/1f2042ad-c513-4fcf-a933-cae6c6fd35e6)
  2. Click on the resource file link (e.g.: U.S. Adult Smoking Rate)
  3. In Chrome no action will happen and the download will not be triggered.
  4. You should see an error about Mixed Content in Development Tools console
  5. You should also see a warning: "Resource interpreted as Document but transferred with MIME type text/csv"

Expected behavior
A file download popup appears with no errors / warnings being generated in console.

Screenshots
image

Details:

  • Browser: Chrome
@neuronick neuronick added bug Something isn't working frontend labels Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

1 participant