On Wed, Jan 7, 2009 at 11:53 AM, Lars Helge Øverland <[email protected]>wrote:
> > > On Tue, Jan 6, 2009 at 11:27 PM, Paul Amendola > <[email protected]>wrote: > >> Hi All >> >> >> I am having difficulty deleting an organization unit and data elements. >> Some were able to be deleted, others are giving an error message >> "+]Exception (org.hisp.dhis.common.DeleteNotAllowedException): Object >> associated by other objects", although there were no objects associated. Any >> suggestions on how to delete? >> > Hi, this is actually a bug, these kind of errors should be presented in the GUI. The reason for this exception is that some object, which could be report table, chart etc, is still referencing this orgunit, which correctly should not be allowed to be deleted. I have fixed this in the latest code. Try to upgrade your code and delete the object again, the GUI will now inform you about which object is referencing the orgunit. Thanks for reporting this. Lars
