GSA / enterprise-data-inventory

The Enterprise Data Inventory is a CKAN based data management system for private and public data management
7 stars 5 forks source link

dataQuality errors #90

Open dinali opened 10 years ago

dinali commented 10 years ago

Hi, I am having trouble validating the dataQuality field. In some cases, I found data_Quality: on, I changed that to dataQuality : true. Sometimes that has resolved the error.

In other cases, even after deleting the field completely, I still get this error: Validation failed, best guess of error = u'on' is not of type u'boolean' Failed validating u'type' in schema[u'properties'][u'dataQuality']: {u'description': u'Whether the dataset meets the agency\xe2\u20ac\u2122s Information Quality Guidelines (true/false).', u'title': u'Data Quality', u'type': u'boolean'}

Has anyone else encountered this problem?

regongithub commented 10 years ago

I've encountered that problem. I got the error: 2014-03-10 11:15:59,983 - Validation failed, best guess of error = u'true' is not of type u'boolean'

regongithub commented 10 years ago

I also got: 2014-03-10 11:15:59,990 - Validation failed, best guess of error = u'on' is not of type u'boolean'. Why are these errors being created when the value is being generated by CKAN? These values are populated by checkboxes.

gbinal commented 10 years ago

Not sure what's up but will try to fix. Can you email me an example entry that is doing this?