← Back to team overview

dhis2-devs team mailing list archive

[Bug 724162] Re: calculated-data-element-cannot-delete

 

** Changed in: dhis2
       Status: New => Fix Committed

** Changed in: dhis2
     Assignee: (unassigned) => Lars Helge Øverland (larshelge)

-- 
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:
  Fix Committed

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".


References