-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Incorrect 'download resource' hyperlink when a resource is unable to upload to datastore #2873
Comments
@smotornyuk @Engerrs can either of you have a look at this one? It should be easy to track where the URL is coming from. The template used is this one: https://github.com/ckan/ckan/blob/master/ckan/templates/package/snippets/resource_view.html Thanks! |
I will take that one |
Thanks @smotornyuk! |
Was this not fixed by #2599 |
smotornyuk
added a commit
to smotornyuk/ckan
that referenced
this issue
Mar 24, 2016
`resource_view` template uses raw_resouce_url in order to create download link if resource can't be displayed, but this variable is not passed into snippet. To make that simpler, use resource.url property for download button.
No, problem here in variable that not passed into template |
Fixed by #2930 |
amercader
pushed a commit
that referenced
this issue
Mar 29, 2016
`resource_view` template uses raw_resouce_url in order to create download link if resource can't be displayed, but this variable is not passed into snippet. To make that simpler, use resource.url property for download button. Conflicts: ckan/templates/package/snippets/resource_view.html
amercader
pushed a commit
that referenced
this issue
Mar 29, 2016
`resource_view` template uses raw_resouce_url in order to create download link if resource can't be displayed, but this variable is not passed into snippet. To make that simpler, use resource.url property for download button.
amercader
pushed a commit
that referenced
this issue
Mar 29, 2016
`resource_view` template uses raw_resouce_url in order to create download link if resource can't be displayed, but this variable is not passed into snippet. To make that simpler, use resource.url property for download button.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a dataset cannot be previewed in the Data Explorer - e.g. when the dataset it too large, or has not been loaded to the DataStore (e.g. http://demo.ckan.org/dataset/bad-hyperlink-example/resource/36a112c0-7a4e-40da-aa0d-8e0c67e64957) the Data Explorer is providing an incorrectly addressed "Download resource" hyperlinked button
![image](https://cloud.githubusercontent.com/assets/1154765/12952293/d5c9a624-cfca-11e5-9a18-754d1f0e928a.png)
The hyperlink URL http://demo.ckan.org/dataset/bad-hyperlink-example/resource/36a112c0-7a4e-40da-aa0d-8e0c67e64957 is missing the terminating text /download/
The text was updated successfully, but these errors were encountered: