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

[showcase] Some data cannot be loaded (examples provided) - and we need to explain why (and display errors nicely in general) #23

Open
2 of 5 tasks
anuveyatsu opened this issue May 14, 2020 · 1 comment

Comments

@anuveyatsu
Copy link
Member

Moved from gitlab

What it tells me is we have to improve showcase (JS part maybe) so we catch these kind of errors and show them to the user - otherwise user blames CKAN. Can we open issues for that on next gen with these examples.

Acceptance criteria

  • when I visit a page with mixed content, I have information message explaining why the previews cannot be loaded
  • when I visit a page with invalid JSON data, I have a nice message explaining it and suggesting to contact the publisher about the error

Tasks

  • handle mixed content error in datapackage-views-js
  • handle invalid JSON (or any other data) error in datapackage-views-js
  • display error message nicely and suggest reporting the issue somewhere, eg, on publisher's issue tracker or by just contacting them
@anuveyatsu
Copy link
Member Author

Comments:

Rufus:

mixed content we can't do anything about atm. We can explain the issue though.

Paul Walsh:

Mixed content can be solved using a proxy server I wrote at OKI and hosting on our infra somewhere (or, write a new one): https://github.com/okfn/gobetween

Anu:

Mixed content FIXED by proxy plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant