Ticket #2930 (closed defect: fixed)

Opened 20 months ago

Last modified 14 months ago

convert_from_extras() returns qupted strings from API

Reported by: seanh Owned by:
Priority: awaiting triage Milestone: ckan-v1.8.1
Component: ckan Keywords: api cmap
Cc: Repository: ckan
Theme: none

Description

Use an IGroupForm plugin to add a custom metadata field to groups using convert_to_extras() and convert_from_extras(), when calling group show the value comes back quoted, e.g. '"my_value"'

Should add tests to example_igroupform and others that setting and getting the custom fields works through the action API.

Change History

comment:1 Changed 19 months ago by seanh

  • Milestone changed from ckan-v1.8 to ckan-v1.8.1

comment:2 Changed 14 months ago by seanh

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.