Re: [Dhis2-users] [Dhis2-devs] Delete Validation Rules

2018-08-20 Thread Calle Hedberg
Hi I do NOT agree that it should be possible to delete data elements that have datavalue or tracker records - in such cases where there is real DATA, the user must assess and delete such DATA first or else leave the data element no longer in use (with its data) - we typically move such historical

Re: [Dhis2-users] [Dhis2-devs] Delete Validation Rules

2018-08-20 Thread Em Le Hong
Hi, I agree with Calle Hedberg that the system should automatically delete any dependent records related to validation rules. In DHIS2, this kind of issue is not only happen with Validation rules, but also with many other objects. For example to delete a data element, we need to delete its data v

Re: [Dhis2-users] [Dhis2-devs] Delete Validation Rules

2018-08-08 Thread Calle Hedberg
Hi Agree with Morten that it's a bug - it should be obvious that if you delete a validation rule, any old validation rule results are no longer of interest (with the rule deleted, you would not even know which rule any remaining results were referring too). So the solution here is that when you d