ckan / ckan/ckanext-scheming

json_object preset might not be encoded/decoded correctly

Open
#188 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

Haven't had a chance to try and debug this just yet, but I'm using json_object preset to validate json input for the mapview dataset extent field. The validation seems to work, but upon viewing the dataset read template I'm getting invalid json errors. When I go back to the dataset edit form, it's prepopulated by a python dictionary value (e.g {u'Polygon': []) etc..

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by reproducing the json_object preset with a mapview dataset extent, then trace the value from validation through the dataset read template and back to the edit form. Done means valid JSON renders without errors and the edit form round-trips JSON rather than a Python dictionary representation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.