You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm this issue. I have installed a plain 2.7.2 and deployed it with Apache as described in the documentation. When using the API with a set Origin header field CKAN throws the "TypeError". After downgrading to 2.6.4 it works fine again. It may be related to this issue: #3921
CKAN Version if known (or site URL)
Please describe the expected behaviour
Navigate to preview a resource that has been uploaded to the datastore and I expect to see a preview load
On http://data.codefordc.org/dataset/neighborhood-school-attendance-cluster-mapping/resource/55820a22-4b91-4d10-9300-48d3d5792497:
Please describe the actual behaviour
The preview does not load and there is an error in the network tab.
Logs that occur are:
What steps can be taken to reproduce the issue?
By process of elimination, I determined that the origin header is the problem:
(Causes error)
versus:
(Works)
I'm only observing this in Chrome and Safari currently as it seems that firefox does not include the origin header.
http://data.codefordc.org/dataset/neighborhood-school-attendance-cluster-mapping/resource/55820a22-4b91-4d10-9300-48d3d5792497 in firefox
I recently upgraded CKAN and only noticed this problem after that.
The text was updated successfully, but these errors were encountered: