dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #06438
[Bug 583843] Re: validatation-deletion-categoryoptioncombos
** Changed in: dhis2
Assignee: Thu Tran (tran-hispvietnam) => (unassigned)
** Changed in: dhis2
Assignee: (unassigned) => Thu Tran (tran-hispvietnam)
--
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