cwrc / HuViz

LOD visualization tool for humanities datasets
8 stars 1 forks source link

redirects are not being respected while loading datasets and ontologies #176

Open smurp opened 6 years ago

smurp commented 6 years ago

CORS_errors_not_being_reported.png

Expected Behaviour

When redirects happen (in this case the http: hit was being redirected to https: by the web server) it should be respected. Also it is unclear whether there was an error message which could have been displayed to the user to help clarify what was going on here. If there was an available clue we should report it to the victim!

Steps to Reproduce (for bugs)

Since the url for the Orlando Ontology has been updated in ontologies.json to be https: that file is no longer a problem. So to replicate the error...

  1. Manually add the http: version of the ontology into a menu (either in the local browser menu or in the ontologies.json files) perhaps with the name "Orlando Ontology via http (broken)"
  2. Try using it as a Dataset to visualize (and fix code until a useful error makes it to the user)
  3. Use it as an Ontology with some Dataset (and fix code until a useful error makes it to the user)
antimony27 commented 5 years ago

@antimony27 to test http links at CWRC.ca and see if this is still happening

smurp commented 5 years ago

If making use of a datasource and an ontology at http://cwrc.ca no longer shows the indicated error message then this issue has been fixed and is hence closable.

smurp commented 4 years ago

(This might have been fixed. Let's make a test case to prove it is still happening.)