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
I was having some issues with rendering "Additional Info" fields in the resource_read page, and just decided to leave here my findings, since the same is happening in demo.ckan.org. (Only an issue with ckan instances using ckanext-dcat)
The happens because the render expects to access the field "res.created" but it's populated like "res.Created" (in english, but different for every language).
This happens because ckanext.dcat.translate_keys config defaults to True. Once I set it to False, it solved the issue.
Not sure if this is the intended behavior of the config, but I decided at least share this here.
The text was updated successfully, but these errors were encountered:
I was having some issues with rendering "Additional Info" fields in the resource_read page, and just decided to leave here my findings, since the same is happening in demo.ckan.org. (Only an issue with ckan instances using ckanext-dcat)
See the example of the field "created" for a resource in https://demo.ckan.org/
The happens because the render expects to access the field "res.created" but it's populated like "res.Created" (in english, but different for every language).
This happens because
ckanext.dcat.translate_keys
config defaults to True. Once I set it to False, it solved the issue.Not sure if this is the intended behavior of the config, but I decided at least share this here.
The text was updated successfully, but these errors were encountered: