← Back to team overview

dhis2-devs team mailing list archive

[Bug 583843] Re: validatation-deletion-categoryoptioncombos

 

** Changed in: dhis2
     Assignee: (unassigned) => Thu Tran (tran-hispvietnam)

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

Title:
  validatation-deletion-categoryoptioncombos

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