dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11439
Re: [Bug 744246] [NEW] Can't uncheck 'calculated' once data element designated as calculated
I agree with you there should be a message when delete calculated data
element. You get such message when you delete dataset. It wont delete
because there is a fk (foreign key) with "RESTRICT" on delete rule on the
calculateddataelementid (calculateddataelement table).
Solution
If you must delete the data element, edit the fk and set to cascade then
delete.
Thanks.
-----Original Message-----
From: dhis2-devs-bounces+damilola=centrifugegroup.org@xxxxxxxxxxxxxxxxxxx
[mailto:dhis2-devs-bounces+damilola=centrifugegroup.org@xxxxxxxxxxxxxxxxxxx]
On Behalf Of Ifeanyi Okoye
Sent: 28 March 2011 1:59 PM
To: dhis2-devs@xxxxxxxxxxxxxxxxxxx
Subject: [Dhis2-devs] [Bug 744246] [NEW] Can't uncheck 'calculated' once
data element designated as calculated
Public bug reported:
I created as calculated data element using 2 other data elements. I
tried to delete the data element but it would not delete. I edited and
then removed the 2 data elements but the 'Calculated' check box remained
greyed out and so could not uncheck. Data element will not save and
still cannot be deleted. Attempt to delete does not give any error
message, it just does not delete. There should be some error message
stating why the data element could not be deleted
** 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/744246
Title:
Can't uncheck 'calculated' once data element designated as calculated
Status in DHIS 2 - District Health Information Software:
New
Bug description:
I created as calculated data element using 2 other data elements. I
tried to delete the data element but it would not delete. I edited and
then removed the 2 data elements but the 'Calculated' check box
remained greyed out and so could not uncheck. Data element will not
save and still cannot be deleted. Attempt to delete does not give any
error message, it just does not delete. There should be some error
message stating why the data element could not be deleted
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
References