dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #06810
[Bug 583843] Re: validatation-deletion-categoryoptioncombos
This requires use of Expressions for Indicator, this is large move and
requires a routine for migrating existing indicators so will schedule
this for 2.0.6.
** Changed in: dhis2
Milestone: 2.0.5 => 2.0.6
--
validatation-deletion-categoryoptioncombos
https://bugs.launchpad.net/bugs/583843
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: Confirmed
Bug description:
Before deleting categoryoptioncombos the system must validate that it is not part of any expressions (for calculated data elements, indicators and validation rules). If yes, the object deletion should be denied.
--
We should add a Set<DataElementCategoryOptionCombo> to Expression class. Then we can use this in DeletionHandlers to verify this before deleting. If a catoptcombo exists in one of the mentioned objects the deletion should be denied.
References