DHIS2 Validation

Dear all,

I am facing some problems with validation rules, My dhis2 instance is not running data validation, it simply ignoring and is passing successfully all validation even when rules are violated. Can someone help me on this?

Kind regards

Hi Joao,

As far as I know, validation rules are working. Here is what I would suggest to narrow down the problem:

  1. Try to reproduce the problem on the demo system at https://apps.dhis2.org/demo/

  2. If you can reproduce the problem on the demo system, send another email with the exact details of what you are doing there, and what is not working.

  3. If it’s working on the demo system but not yours, compare the two systems to see if you can find the difference.

  4. If it is still working on the demo system but not your system, let us know how your validation rules are set up, and what is not working.

Cheers,

Jim Grace

···

On Mon, Dec 8, 2014 at 7:08 AM, Joao Mazuze Joao_Mazuze@chasssmt.com wrote:

Dear all,

I am facing some problems with validation rules, My dhis2 instance is not running data validation, it simply ignoring and is passing successfully all validation even when rules are violated. Can someone help me on this?

Kind regards


This message may contain privileged and confidential information intended solely for the addressee. Please do not read, disseminate or copy it unless you are the intended recipient. If this message has been received in error, we kindly ask that you notify the sender immediately by return email and delete all copies of the message from your system.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Yes, agree, that it works. Usually, these issues have to do with missing data. If data is missing, the validation rule will be skipped entirely by default.

From the docs…

When editing an expression, check the setting skip for missing values to require that all data element values in the expression must be present. If any values are missing, the validation rule will be skipped. If this setting is unchecked it means that the expression will be evaluated even if some of the values are missing.

Not sure if this is the issue or not, but I have seen it trip some people up.

Regards,

Jason

···

On Mon, Dec 8, 2014 at 1:08 PM, Joao Mazuze Joao_Mazuze@chasssmt.com wrote:

Dear all,

I am facing some problems with validation rules, My dhis2 instance is not running data validation, it simply ignoring and is passing successfully all validation even when rules are violated. Can someone help me on this?

Kind regards


This message may contain privileged and confidential information intended solely for the addressee. Please do not read, disseminate or copy it unless you are the intended recipient. If this message has been received in error, we kindly ask that you notify the sender immediately by return email and delete all copies of the message from your system.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049