Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other extra fields will be deleted after editing dataset #408

Open
HMinD-V3 opened this issue Apr 12, 2024 · 0 comments
Open

Other extra fields will be deleted after editing dataset #408

HMinD-V3 opened this issue Apr 12, 2024 · 0 comments

Comments

@HMinD-V3
Copy link

HMinD-V3 commented Apr 12, 2024

We have applied the plugins scheming_datasets, dcat_rdf_harvester, and others on a CKAN 2.10.3 dev system.

Harvested datasets with additional fields (e.g. from geo sources) are stored correctly in the database, i.e. for dataset fields in the package_extra table as separate records, and for resource fields, in the JSON field "extras" in the resource table. The same is working for additional fields that we have added to the schema, in order to edit the harvested data afterwards.

But, after editing the dataset form and saving it, all other entries but the just edited field have been deleted - the package_extra table only contains the one single record for this dataset, and the JSON field in the resource table only the single edited element. Hence, we currently cannot use harvesting and editing scheming fields in conjunction.

How can we fix that?

EDITED:

Eventually related to issue #14? But this is 10 years old now ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant