diff --git a/ckanext/dcatapchharvest/profiles.py b/ckanext/dcatapchharvest/profiles.py index 189cb3d..67d2ef7 100644 --- a/ckanext/dcatapchharvest/profiles.py +++ b/ckanext/dcatapchharvest/profiles.py @@ -531,8 +531,10 @@ def parse_dataset(self, dataset_dict, dataset_ref): # noqa license = self._license_rights_name(distribution, DCT.license) if rights is None and license is not None: resource_dict['license'] = license + resource_dict['rights'] = license if rights is not None and license is None: resource_dict['license'] = rights + resource_dict['rights'] = rights if license is not None and rights is not None: resource_dict['license'] = license resource_dict['rights'] = rights