[ECODP-dev] Validation error of certain strings with comma

Dimitrios Mexis dimitrios.mexis at tenforce.com
Fri Aug 9 06:55:37 UTC 2013


Good morning,

I think we should consider it.

Regards
Dimitrios

On 8/08/2013 17:47, David Raznick wrote:
> We do make sure that keywords do not have commas in as part of our 
> validation rules.  We could possibly change those rules if required.
>
> David
>
>
> On 8 August 2013 15:12, Dimitrios Mexis <dimitrios.mexis at tenforce.com 
> <mailto:dimitrios.mexis at tenforce.com>> wrote:
>
>     Hello,
>
>     when we encounter comma in a text for posting the JSON this comes
>     as return:
>      ERROR [ckan.controllers.api] Validation error:
>     '{\'keyword_string\': [u\'Tag "international trade,trade
>     statistics" must be alphanumeric characters or symbols: -_.\'],
>     \'__type\': \'Validation Error\'}'
>
>     Is it because the comma is used internally for spliting the texts.
>     Could that be the problem ?
>
>     What is your suggestion ?
>
>     Regards
>     Dimitrios
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130809/873a5681/attachment.html>


More information about the ecodp-dev mailing list