Ticket #1121 (closed enhancement: wontfix)
JSON extras appear in package edit form mangled
Reported by: | dread | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
It is possible to use the CKAN API to insert JSON format data into package extra values, but this data is displayed in the package edit form.
Example: Package http://ckan.net/package/hbz_unioncatalog in the API the extra value as a list:
"extras": {"publishingInstitution": ["http://lobid.org/organisation/DE-605", "http://lobid.org/organisation/DE-290"...
yet when you edit the package it loses all the quotes and brackets: http://ckan.net/package/edit/hbz_unioncatalog {{{http://lobid.org/organisation/DE-605http://lobid.org/organisation/DE-290... }}} so when you save the package, the list is mangled into a bad string.
Change History
Note: See
TracTickets for help on using
tickets.
We don't need to support JSON extras at the moment.