Ticket #1287 (assigned enhancement)

Opened 3 years ago

Last modified 2 years ago

NAVL validation errors - Junk fields should be listed explicitly

Reported by: dread Owned by: thejimmyg
Priority: awaiting triage Milestone: ckan-backlog
Component: ckan Keywords:
Cc: thejimmyg, kindly Repository: ckan
Theme: none

Description

When you create a package, but specify a key that is not allowed (e.g. 'relationships') then you get error message:

{"__junk": ["The input field __junk was not expected."]}

It should mention the actual key which is not expected. e.g.

{"relationships": ["The input field 'relationships' was not expected."]}

Kindly said that James' version of NAVL was better in this respect, so this might be best solved by moving to that.

Change History

comment:1 Changed 2 years ago by thejimmyg

  • Owner set to thejimmyg
  • Status changed from new to assigned
  • Milestone changed from ckan-backlog to current-ckan-sprint-2011-12-19

comment:2 Changed 2 years ago by kindly

  • Milestone changed from ckan-sprint-2012-03-05 to ckan-backlog
Note: See TracTickets for help on using tickets.