Ticket #1792 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

[super] api to use same validation and logic as wui forms.

Reported by: kindly Owned by: toby
Priority: awaiting triage Milestone: ckan-sprint-2012-03-05
Component: ckan Keywords: 5d
Cc: Repository: ckan
Theme: none

Description

The api currently uses the default validation schemas regardless of the form you specified on the front end. There should be a way to post through the api using the same validation rules.

Change History

comment:1 Changed 2 years ago by toby

  • Status changed from new to accepted

package create update use correct schema in get_action

comment:2 Changed 2 years ago by kindly

  • Keywords 5d added
  • Milestone changed from ckan-v1.7 to current-ckan-sprint-2012-03-05

comment:3 Changed 2 years ago by toby

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

closing as done all that I was asked to do as part of this ticket

comment:4 Changed 2 years ago by dread

What is the changeset for this? There is evidence of a branch "enhancement-1792-api-logic" but perhaps this name got fast-forwarded out through a bad merge? Is this merged into 1.6.1 release?

comment:5 Changed 2 years ago by toby

This is in the 1.6.1 as far as I'm aware. The branch was deleted after the merge into master

comment:6 Changed 2 years ago by dread

I have tracked down the changesets to:

  • branched off master at dff9f7a8
  • merged master in for the last time (and became the 'new master'?) at 1a9227d9ff73c
Note: See TracTickets for help on using tickets.