[ckan-dev] ckanext-validation validation problems

Isabel M Ruiz Mellado isaruizmellado at gmail.com
Thu Apr 5 12:08:36 UTC 2018


Hi all,

I have installed and configure ckanext-validation (and ckanext-scheming)
plugin and I have some problems with it... maybe someone can solve them:

1- If I load a CSV with a large field, validation returns *"message':
u'field larger than field limit (131072)'*, I configure JSON field as
"type": "string", "type": "object" and "any"...but it doesnt work (This
file was loaded in datastore correctly). Is there any type to load large
field?

2- validation returns *message': u'("Connection broken: error(14, \'Bad
address\')", error(14, \'Bad address\'))* but URL file is correct, if I
split it, validation returns ok, it seems a very long files breaks
validation.... Can you confirm this?

3- After point 1 and 2, my CKAN shows "data|invalid" on these CSV files. I
want these messages to desappear, so I edit resource and clear "Data
Schema" field, but after "Update Resource" button, validation is executed
again and "data|invalid" is shown. How can it desappear ?

Thanks !!!!!

-- 
Isabel M. Ruiz Mellado
http://about.me/isabelruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180405/2ed6ead4/attachment-0002.html>


More information about the ckan-dev mailing list