From 3ee1bd22b1e59f2b57a0be96c1bfbb82d03d4284 Mon Sep 17 00:00:00 2001 From: Alex Perfilov Date: Fri, 19 Dec 2014 14:07:15 -0500 Subject: [PATCH] error message fix --- ckanext/datajson/datajsonvalidator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/datajson/datajsonvalidator.py b/ckanext/datajson/datajsonvalidator.py index c7973368..ea84cbb2 100644 --- a/ckanext/datajson/datajsonvalidator.py +++ b/ckanext/datajson/datajsonvalidator.py @@ -204,7 +204,7 @@ def do_validation(doc, errors_array): pass # not required elif not isinstance(item["dataQuality"], bool): add_error(errs, 50, "Invalid Field Value (Optional Fields)", - "The field 'theme' must be true or false, " + "The field 'dataQuality' must be true or false, " "as a JSON boolean literal (not the string \"true\" or \"false\").", dataset_name)