Skip to content

Other extra fields will be deleted after editing dataset #408

@HMinD-V3

Description

@HMinD-V3

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions