Re: [Dhis2-users] [Dhis2-devs] In DHIS 2.27 Issues with deleting organisation unit

2017-12-14 Thread Jhansi Reddy Karee
Thanks Jason, Since we just have data values for the organisation units (which should be deleted), we are able to remove them after clearing the data associated with them using /api/maintenance/dataPruning/organisationUnits API. Thanks, Jhansi On Fri, Dec 15, 2017 at 11:51 AM, Jason Pickering <

Re: [Dhis2-users] [Dhis2-devs] In DHIS 2.27 Issues with deleting organisation unit

2017-12-14 Thread Jason Pickering
It might work for you, but I am not 100% sure if that API endpoint will clear out everything. As you can see from the SQL function, orgunits may also have other dependencies, like pivots, charts, user associations, etc. The deletion handler for orgunits may refuse to remove it, if the object is

Re: [Dhis2-users] [Dhis2-devs] In DHIS 2.27 Issues with deleting organisation unit

2017-12-14 Thread Jhansi Reddy Karee
Thanks for the quick reply Jason, In DHIS documentation , we came across a WEB API which can clear all the data of the organisation unit. /api/26/maintenance/dataPruning/organisationUnits/ API Details: Data pruning will

Re: [Dhis2-users] Skinning no longer working?

2017-12-14 Thread Timothy Harding
Knut, I made a request to add back a bit of branding features in a much more structured way than just css (which won't work with react based apps at the moment) and mocked it up here: https://jira.dhis2.org/browse/DHIS2-2624 If this existed, would it be enough to satisfy your use case? Or would

Re: [Dhis2-users] [Dhis2-devs] In DHIS 2.27 Issues with deleting organisation unit

2017-12-14 Thread Jason Pickering
Hi Jhansi, You will also need to get rid of the data in the data value audit table. Here is an SQL function which might work for you. https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/delete_orgunit_with_data.sql Regards, Jason On Thu, Dec 14, 2017 at 2:49 PM, Jhansi Reddy Karee

[Dhis2-users] In DHIS 2.27 Issues with deleting organisation unit

2017-12-14 Thread Jhansi Reddy Karee
Hello Team, In DHIS 2.27, we are not able to delete an organisation unit after deleting all the data associated to it. Following are the steps we have followed to do this: - Delete all the data associated to the organisation unit - In Data administration app, under maintenance,

Re: [Dhis2-users] Data visualisation is not working

2017-12-14 Thread Knut Staring
Any error messages in the browser console or in the server log? On Thu, Dec 14, 2017 at 8:53 AM, Jean de Dieu Anoubissi < jd.anoubi...@gmail.com> wrote: > Hi Knut > The upgrade have been made by the Bao System team which is hosting our > system > > > 2017-12-14 8:45 GMT+01:00 Knut Staring

Re: [Dhis2-users] Data visualisation is not working

2017-12-14 Thread Jean de Dieu Anoubissi
Hi Knut The upgrade have been made by the Bao System team which is hosting our system 2017-12-14 8:45 GMT+01:00 Knut Staring : > Did you upgrade step by step running all the script and test every > version? At which point did This issue arise? > > On Dec 14, 2017 8:40 AM,

Re: [Dhis2-users] Data visualisation is not working

2017-12-14 Thread Jean de Dieu Anoubissi
Hi Mayeem I tried that but the issue is still there 2017-12-14 8:53 GMT+01:00 Jean de Dieu Anoubissi : > Hi Knut > The upgrade have been made by the Bao System team which is hosting our > system > > > 2017-12-14 8:45 GMT+01:00 Knut Staring : > >> Did you