A profile with DCAT but without DCAT files add-on would fail with an error:
Transaction failed: Add column 'Distribution.files' failed: 'refTable' required for columns of type REF, REF_ARRAY, REFBACK (tried to find: dcat_test:Files): Add column 'Distribution.files' failed: 'refTable' required for columns of type REF, REF_ARRAY, REFBACK (tried to find: dcat_test:Files)
This PR makes 2 columns belong to DCAT files add-on instead of DCAT:
files (as there are literally no files without the add-on and caused the error)
DistributionType (as without the files add-on there can only be a single type hence the column is obsolete)
how to test:
test16DCATBasic should fail pre-changes and work post-changes.
What are the main changes you did:
DCAT
but withoutDCAT files add-on
would fail with an error:This PR makes 2 columns belong to
DCAT files add-on
instead ofDCAT
:files
(as there are literally no files without the add-on and caused the error)DistributionType
(as without the files add-on there can only be a single type hence the column is obsolete)how to test:
test16DCATBasic
should fail pre-changes and work post-changes.