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

Dataset edit modal appears to show resources as if they are of type "Upload file" #4195

Open
takavarasha opened this issue May 19, 2016 · 5 comments
Assignees
Labels
Milestone

Comments

@takavarasha
Copy link

The edit dataset modal appear to show resources of type "Import from URL" as empty "Upload file" resources.

To reproduce

  1. Start with a dataset containing an "Import from URL" resource
  2. Click on edit
  3. Notice that the "Import form URL" resource is shown as if it is an empty "Upload File" resource.

It is not know what the effect of saving this resource is going to be.

@danmihaila
Copy link
Contributor

@takavarasha can you please give us a dataset url as example?

@danmihaila
Copy link
Contributor

@mcarans can you check your update script? I think the acled dataset resources are not set well the type and it looks bad when editing the dataset. lets chat on slack

@alexandru-m-g
Copy link
Member

alexandru-m-g commented Jun 3, 2016

From what I see the url_type and the resource_type are null.
@takavarasha Where they created by a script ? Theoretically those 2 fields are never null when created via the UI.

@danmihaila danmihaila modified the milestones: Sprint 90, Sprint 91 Jun 13, 2016
@danmihaila danmihaila modified the milestones: Sprint 92, Sprint 91 Jun 21, 2016
@danmihaila danmihaila assigned mcarans and unassigned danmihaila Jun 21, 2016
@danmihaila
Copy link
Contributor

Actions:

  • @mcarans to update the HDX Library to add the missing fields for resources
  • @takavarasha / @mcarans to run the scripts to update the resources
  • Dan to check in about 10-14 days the remaining not updated resources and to manually patch them in CKAN db.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants