-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Data extension service not using CORS #3672
Copy link
Copy link
Closed
Labels
Type: BugIssues related to software defects or unexpected behavior, which require resolution.Issues related to software defects or unexpected behavior, which require resolution.reconciliationRelated to the reconciliation operations and other featuresRelated to the reconciliation operations and other features
Milestone
Metadata
Metadata
Assignees
Labels
Type: BugIssues related to software defects or unexpected behavior, which require resolution.Issues related to software defects or unexpected behavior, which require resolution.reconciliationRelated to the reconciliation operations and other featuresRelated to the reconciliation operations and other features
To Reproduce
Steps to reproduce the behavior:
Current Results
Currently you get back a blank form with no properties for selection. I think given the bug from this issue it probably should have shown an error to the user. But when you look in the web console, you can see that the request was using JSONP.
Expected Behavior
Similar to reconciliation, I would have expected it to try to use CORS first and fallback to JSONP.
Screenshots
Versions
Datasets
Additional context
I can provide a sample service demonstrating this bug if you like. Please let me know. I think the code making this request is here. It looks like recon calls ajax directly rather than with the jQuery shorthand.
For clarity, this is using OpenRefine 3.4.1 on a Mac with FF 84.0.1.
[EDIT: You can see the use of JSONP from the web console using the Wikidata reconciliation service, so no need to implement your own service.]