Ticket #1287 (assigned enhancement)
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
Note: See
        TracTickets for help on using
        tickets.
    