Ticket #2937 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

GroupController.history() missing extras_as_string

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


GroupController?'s history() method doesn't pass 'extras_as_string': True in the context when it calls group_show. This means that if you have an IGroupForm plugin that is adding a custom metadata field and using convert_to/from_extras() then a field value of 'foo' will be returned as '"foo"'

Other GroupController? and PackageController? methods do pass 'extras_as_string'

Change History

comment:1 Changed 20 months ago by seanh

This is fixed on master (commit e97b5c70e9325a1095778fef8e0d27c84e881b30) needs to be cherry-picked into 1.8

comment:2 Changed 20 months ago by seanh

  • Status changed from new to closed
  • Resolution set to fixed

Cherry-picked into 1.8

Note: See TracTickets for help on using tickets.