Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
make resource urls optional #2844
When uploading a file or when creating a datastore resource, CKAN requires a dummy value entered in to the url field simply to pass validation.
Some users may want to create resources that aren't accessible publicly yet, again requiring some kind of dummy value to be entered.
This still needs a review of the front end to warn users about creating resources without urls. (Maybe allow creation of datasets without resources with similar language? might be another issue for that)
I also need to add tests to see that the API behaves in a sensible way: returning an empty string when url not provided. Not prefixing an empty string with 'http://' etc.