dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26165
[Bug 1251718] Re: Numbers are being treated as strings
I have created a validation rule for a program 'ART first visit'. It
checks if the CD4 result is greater than 10. I have created an invalid
entry in my database, but validation rule is not able to capture it.
Please refer to the following attachments -
** Attachment added: "Left side of the validation rule"
https://bugs.launchpad.net/dhis2/+bug/1251718/+attachment/3911854/+files/demo2.png
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1251718
Title:
Numbers are being treated as strings
Status in DHIS 2:
In Progress
Bug description:
The fields which take numeric data as an input are treated as Strings
internally (in the back-end most probably). Because of that validation
rule does not get applied to those fields. The result of validation
analysis says passed successfully even though there are some fields in
the database with invalid values.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1251718/+subscriptions
References