Skip to content

Commit

Permalink
Fix #1710. Replace "missing_fields" by "non_existing_filed_names" in …
Browse files Browse the repository at this point in the history
…order to get correctly the list of non existing fields
  • Loading branch information
Aitor Magán committed Jul 2, 2014
1 parent bfa0a5a commit 16d3163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datastore/db.py
Expand Up @@ -599,7 +599,7 @@ def upsert_data(context, data_dict):
if non_existing_filed_names:
raise ValidationError({
'fields': [u'fields "{0}" do not exist'.format(
', '.join(missing_fields))]
', '.join(non_existing_filed_names))]
})

unique_values = [record[key] for key in unique_keys]
Expand Down

0 comments on commit 16d3163

Please sign in to comment.