← Back to team overview

dhis2-devs team mailing list archive

[Bug 724162] [NEW] calculated-data-element-cannot-delete

 

Public bug reported:

It is not possible to delete a calculated data element.

 DELETE FROM dataelement where dataelementid = 11055
ERROR:  update or delete on table "dataelement" violates foreign key constraint "fkd40acf947dc1d6ab" on table "calculateddataelement"
DETAIL:  Key (dataelementid)=(11055) is still referenced from table "calculateddataelement".

** 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/724162

Title:
  calculated-data-element-cannot-delete

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  It is not possible to delete a calculated data element.

   DELETE FROM dataelement where dataelementid = 11055
  ERROR:  update or delete on table "dataelement" violates foreign key constraint "fkd40acf947dc1d6ab" on table "calculateddataelement"
  DETAIL:  Key (dataelementid)=(11055) is still referenced from table "calculateddataelement".



Follow ups

References