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

Really long file names kill the datapusher #2057

Closed
tobes opened this issue Nov 18, 2014 · 4 comments
Closed

Really long file names kill the datapusher #2057

tobes opened this issue Nov 18, 2014 · 4 comments
Assignees

Comments

@tobes
Copy link
Contributor

tobes commented Nov 18, 2014

if you upload a resource in CKAN and the file name is very long (over 90ish chars) then the datapusher gets called with a url that causes a 500 error (the url contains a truncated filename).

I am not sure if the url is incorrectly produced or that the datapusher has issues around trying to get the extension for the file type.

@tobes
Copy link
Contributor Author

tobes commented Nov 18, 2014

It is almost certainly the lack of extension passed to the datapusher that causes this problem

@amercader amercader self-assigned this Nov 20, 2014
@amercader amercader added this to the CKAN 2.4 milestone Nov 20, 2014
@amercader
Copy link
Member

@tobes any chance you can submit a patch for this?

tobes added a commit to tobes/ckan that referenced this issue Dec 17, 2014
@tobes
Copy link
Contributor Author

tobes commented Dec 17, 2014

@amercader here is a patch for this

@davidread
Copy link
Contributor

This issue was closed due to inactivity. Feel free to reopen if you have more feedback or are interested it working on it

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

5 participants