← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 612866] [NEW] Can't name dael, dael-group, dataset, ind in Vietnamese characters

 

Yeah, you reminded that should not think too hard.

Thanks.

P.S: Anyway, sorry about the regex validation blueprint. I had finished that
but with a careless action. I did lose the whole source code which are
relative to. Fortunately, a part of them has been recovered.
Btw, about your flexible field-level blueprint, so is it the same as regex
blueprint?

On Tue, Aug 3, 2010 at 4:57 PM, jason.p.pickering <612866@xxxxxxxxxxxxxxxxxx
> wrote:

> OK, just as a test, I changed it to this..
>
> return this.optional(element) || !(/[\d+!#&]$/i.test(value));
>
> So, i do NOT want anything with numbers, pluses, exclamation marks,
> hashes or amperstands. Forgot to add double spaces..anyway. I guess
> there are probably more characters to be excluded.
>
> I was able to store the data element name sans problem.
>
> Might be a work around. That JavaScript library might have license
> issues (MIT).
>
> Maybe try server side validation and see where you get.
>
> Regards,
> Jason
>
>


-- 
Hieu.HISPVietnam
Good Health !

-- 
Can't name dael, dael-group, dataset, ind in Vietnamese characters
https://bugs.launchpad.net/bugs/612866
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2 - District Health Information Software: New

Bug description:
based on the latest DHIS2 source-code on Aug 3rd 2010
It's impossible to name a dael, dael-group, dataset, ind... with Unicode characters
(currently can use/borrow TRANSLATE function of dael, dael-group, dataset,... to name them in Unicode characters instead)





References