-
Notifications
You must be signed in to change notification settings - Fork 1
P3 Dashboard does not seem to execute transformation #10
Comments
Issue fusepoolP3/p3-proxy#12 indeed fixed the execution, thanks! However I noticed that it works in Chrome only, in there a In Firefox an upload of a file with a
Which will fail in BatchRefine as it's not a supported input-type. |
Woops didn't want to close this sorry. |
Ok, I tried post a cvs with firefox (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0) and the Content-Type is correctly "text/csv". I don't think that the problem you experience is related to the dashboard. Could you please document in terms of curl request and create an issue against the proxy if you think this should somehow deal with browsers sending wrong content-type? |
I've seen this effect with the p3-resource-gui as well today while demonstrating the platform. For reasons I don't understand Marco could not upload a JSON config to LDP without getting it renamed to .bin. It didn't matter if he was using Chrome or Firefox (on Windows). So I had a look at the headers and noticed that in his case no Can anyone reproduce that? I have no clue on what decision the browser either sends or does not send the content-type. And obviously if its missing LDP seems to handle it as binary. |
@szluca would it be possible to do some guessing based on the file name extension if no Content-Type header is sent? |
Do we know about any other file types that get sent without content-type? |
@szluca I think the best reference is https://www.iana.org/assignments/media-types/media-types.xhtml |
@szluca it all depends on the configuartion of the client. Basicall if the content type is not set or application/octet-stream the app should do some guessing, but of course the list of extension the dashboard knows about can be much shorter than the typical /etc/mime.types file. I can think of the following extensions the dashboard should recognize: json, csv, ttl, n3, nt, rdf, turtle, xml |
Okay, thank you. |
I configured an OpenRefine transformer as described in issue #9. When I create a widget on the dashboard for this transformer and upload a file, nothing seems to happen. I never see any request in the batchrefine log.
The text was updated successfully, but these errors were encountered: