[Bug 1510664] [NEW] Data integrity check shows error in indicator formula when denominator = sum of orgunitgroups

Public bug reported:

The data integrity checker incorrectly displays an integrity violation on indicators using the sum of OrganisationUnitGroups e.g. Clinic+Community Day Centre+Community Health Centre as the denominator value.
The specific integrity check that displays an error is Invalid Indicator Denominators.
The indicator also calculates correctly so there are no issues with the denominator formulae.

Tested on SL demo and same error occurs for indicators:
Public facilities with access to Internet connectivity: org_unit_group_does_not_exist
Public facilities with access to running water: org_unit_group_does_not_exist
Public facilities with access to stable electrical power: org_unit_group_does_not_exist

Local version tested:
2.20 build revision 16792

SL demo version:
2.21 build revision 20853

The integrity check does not seem to be well formulated.

** Affects: dhis2
     Importance: Undecided
         Status: New

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1510664

Title:
  Data integrity check shows error in indicator formula when denominator
  = sum of orgunitgroups

Status in DHIS:
  New

Bug description:
  The data integrity checker incorrectly displays an integrity violation on indicators using the sum of OrganisationUnitGroups e.g. Clinic+Community Day Centre+Community Health Centre as the denominator value.
  The specific integrity check that displays an error is Invalid Indicator Denominators.
  The indicator also calculates correctly so there are no issues with the denominator formulae.

  Tested on SL demo and same error occurs for indicators:
  Public facilities with access to Internet connectivity: org_unit_group_does_not_exist
  Public facilities with access to running water: org_unit_group_does_not_exist
  Public facilities with access to stable electrical power: org_unit_group_does_not_exist

  Local version tested:
  2.20 build revision 16792

  SL demo version:
  2.21 build revision 20853

  The integrity check does not seem to be well formulated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1510664/+subscriptions