[ckan-changes] [ckan/ckan] e03da4: A resource is allowed to have null value in its ur...
GitHub
noreply at github.com
Sat Apr 30 23:11:56 UTC 2016
Branch: refs/heads/2844-optional-resource-url
Home: https://github.com/ckan/ckan
Commit: e03da496fc2400be90ad7020a54b761740d5afdf
https://github.com/ckan/ckan/commit/e03da496fc2400be90ad7020a54b761740d5afdf
Author: yingqiaogit <qiaoying at hotmail.com>
Date: 2016-04-29 (Fri, 29 Apr 2016)
Changed paths:
M ckan/lib/dictization/model_dictize.py
Log Message:
-----------
A resource is allowed to have null value in its url. We don't set resource['url'] as 'http://' after the resource is retrieved from the database. In this way, the value of resource['url'] is kept as null at front end. We have tested the update with the others in the same branch using the default web UI front. For a resuouce with an empty url, in the Resource Page , the line for URL and the Go to resource Button are not displayed. In the Package page, the Go to resource button is not included in the Explore pop up menu. There is no extra log message shown up in the console.
More information about the ckan-changes
mailing list