You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear dcat project,
I'm working with CKAN and using DCAT extension.
The problem here is happened when CKAN is deployed as non-root (e.g.: http://myhost.com/ckan)
The URI for getting the relevant entities is generated based on ckanext.dcat.base_uri or ckan.site_url.
I did not use the first option ckanext.dcat.base_uri because I want to centralize everything based on ckan.site_url but DCAT plugin generate the wrong URI (e.g.: http://myhost.com) because my CKAN is deployed as non-root
And I checked code, in ultils.py, we should add ckan.root_path at line 162
Dear dcat project,
I'm working with CKAN and using DCAT extension.
The problem here is happened when CKAN is deployed as non-root (e.g.: http://myhost.com/ckan)
The URI for getting the relevant entities is generated based on ckanext.dcat.base_uri or ckan.site_url.
I did not use the first option ckanext.dcat.base_uri because I want to centralize everything based on ckan.site_url but DCAT plugin generate the wrong URI (e.g.: http://myhost.com) because my CKAN is deployed as non-root
And I checked code, in ultils.py, we should add ckan.root_path at line 162
ckanext-dcat/ckanext/dcat/utils.py
Line 162 in 6b7ec50
It should be:
About ckan.root_path, you could check here: ckan.root_path
Thanks,
Huy
The text was updated successfully, but these errors were encountered: