ckan / ckan/ckanext-scheming

Fields emptied when dataset created via API

Open
#337 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
102
Forks
182
PR merge metrics
No merged PRs in 30d

Description

Hi everyone,

I am using CKAN 2.9.5 and testing the scheming extension.

When I create via API a new dataset with the same metadata as in the yaml file of the scheming extension, all fields appear empty in the CKAN instance. If I disable the scheming extension, it does not happen.

I tried to add `"type":"dataset"` in my data, as specified in the issue #158 but it does not help.

Any idea?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce dataset creation through the CKAN API with the scheming extension enabled and disabled, using metadata matching the extension's YAML schema. Read issue #158 for prior context and compare the resulting field values; done means API-created datasets retain their submitted metadata when scheming is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.