← Back to team overview

dhis2-users team mailing list archive

Re: Deleting old data elements

 

Hi Jose,

the recommendations given about SQL statements are correct, however this is
probably a bug with deletion in DHIS which should be fixed. Could you
please share the output in your Tomcat / server container log appearing
after you delete those data elements?

regards,

Lars





On Wed, Aug 28, 2013 at 12:41 AM, Jose Garcia Muñoz <josemp10@xxxxxxxxx>wrote:

>
> Dear all,
>
> I am trying to delete some old dataelements. Previously I have deleted,
> using SQL delete sentences, all datavalues associated to them. Everything
> goes well, but still some data elements don't want to disappear. I mean,
> when I click on the Remove button (web interface):
>
> 1) Some times appear the message "Deleting ....", but nothing really
> happens.
>
> or
>
> 2) Other times appear the following message: "Object not deleted because
> it is associated by object of type"
>
> Any ideas about 1) or 2)? I am using DHIS 2.12 and postgresql
>
> Thanks!
> Jose
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

References