[Dhis2-users] In 2.25 version while i run only one module like dhis-web-dataentry using jetty the tree not loaded

2016-11-18 Thread Mithilesh Kumar Thakur
Dear devs, In 2.25 version while i run only one module like dhis-web-dataentry using jetty the tree not loaded the javascript error occurred like "Uncaught TypeError: Cannot read property 'initHeaderBar' of undefined(…)" jQuery(function () { Dhis2HeaderBar.initHeaderBa

[Dhis2-users] Program Rules: NULL is not defined

2016-11-18 Thread Immaculate Ayebazibwe
Hi guys, We created Program Rules in 2.24 but after an upgrade to 2.25 they are not working. Have you experienced any thing like this, or did we do something wrong. Also I have noticed that the system does not recognise NULL, Null, when I inspect element it shows warning NULL is not defined. I tri

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lorill Crees
Great, thanks Lars! On Fri, Nov 18, 2016 at 10:03 AM, Lars Helge Øverland wrote: > > Sure - will keep you posted - we will get it done in a few weeks time. > > regards, > > Lars > > > On Fri, Nov 18, 2016 at 7:01 PM, Lorill Crees wrote: > >> Thanks Lars. Yes - keeping it on a data element will

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lars Helge Øverland
Sure - will keep you posted - we will get it done in a few weeks time. regards, Lars On Fri, Nov 18, 2016 at 7:01 PM, Lorill Crees wrote: > Thanks Lars. Yes - keeping it on a data element will work for us. > > Could you please let me know when this is complete for us to try out? Or > let me k

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lorill Crees
Thanks Lars. Yes - keeping it on a data element will work for us. Could you please let me know when this is complete for us to try out? Or let me know the issue so I can track it? Thanks for accommodating this functionality - much appreciated! On Fri, Nov 18, 2016 at 9:50 AM, Lars Helge Øverland

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lars Helge Øverland
On Fri, Nov 18, 2016 at 6:43 PM, Lorill Crees wrote: > Hi Lars, > > That functionality would be what we need. Is this something that you could > backport to 2.25? > > Okay we can work on that. I have written an issue. Yes I think we can back-port to 2.25. > Also wondering if it would be possibl

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lorill Crees
Hi Lars, That functionality would be what we need. Is this something that you could backport to 2.25? Also wondering if it would be possible to prune for a Data Set? That would reduce the amount of API calls as our end goal is to delete the Data Set itself. Let me know. Thanks, Lorill On Fri,

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lars Helge Øverland
Sorry Lorill, I misread your question. No we haven't changed the policy that data element can be deleted if data value audits exist. We recently implemented a feature for pruning data (including approval records

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lorill Crees
Hi, We have a long standing request to allow users of our custom DHIS 2 app to delete specific Data Sets and all corresponding data elements and values. We need to do this via the API. It seems the only thing preventing us from doing this now is the deletion of datavalueaudit records. Is there an

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lorill Crees
Hi Lars, Thanks for the quick reply. Does this mean if we soft delete all data values associated with a data element we will then be able to hard delete the data element? Thanks, Lorill On Fri, Nov 18, 2016 at 8:54 AM, Lars Helge Øverland wrote: > Hi Lorill, > > in 2.25 we introduced "soft da

Re: [Dhis2-users] [Dhis2-devs] can't delete data element

2016-11-18 Thread Lars Helge Øverland
Hi Lorill, in 2.25 we introduced "soft data value" delete, meaning that in the database we simply mark data values as deleted using the "deleted" property (this is transparent to the users). This means that foreign key constraints from data value audit values should not be a problem anymore. Let u

[Dhis2-users] SMS Mobile Commands not saving

2016-11-18 Thread Shurajit Dutta
Hi there, I am trying to test the SMS mobile commands on my local machine but am unable to save the sms mobile commands. I tried to do this on play.dhis2.org and am finding the same result. In play.dhis2.org/demo 1. Go to mobile config -> SMS commands 2. Edit the mortality command that is alread

Re: [Dhis2-users] [Dhis2-devs] Average Sum in Org unit Hierarchy

2016-11-18 Thread David Muturi
Hi Lars, Many thanks, we will eagerly wait for a solution. I have noticed there is a blue print related to this i.e. although it does not directly fix it but might be an alternative solution as we wait for this feature. https://blueprints.launchpad.net/dhis2/+spec/last-value-aggregation-operator rg

Re: [Dhis2-users] [Dhis2-devs] Average Sum in Org unit Hierarchy

2016-11-18 Thread Lars Helge Øverland
Hi Muturi, yes I see you point. This is something we could look into supporting as a setting (include only periods with data in average denominator). I get's a bit tricky to implement as we need to weigh the values according to the number of days in the data period, and since we need to calculate

Re: [Dhis2-users] [Dhis2-devs] Issue in metadata export with dependencies

2016-11-18 Thread Lars Helge Øverland
Hi, minor comment - it is in fact not the name of the _program_ you cannot see in the edit program stage screen, so it seems the association between program stages and program are not being properly imported. Lars On Fri, Nov 18, 2016 at 10:56 AM, Morten Olav Hansen wrote: > Hi Marc > > Which

Re: [Dhis2-users] Issue in metadata export with dependencies

2016-11-18 Thread Morten Olav Hansen
Hi Marc Which version of DHIS 2 is this? 2.24 or 2.25? could you also update to latest version of that release, since there have been quite a few updates to the importer in the last weeks. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Nov 18, 2016

[Dhis2-users] Issue in metadata export with dependencies

2016-11-18 Thread Marc Garnica
Hi all, We are experiencing some problems importing some metadata from one instance to another using the metadata export with dependencies. We export all the metadata linked to one of our programs and try to import it to the target instance. First of all we realized that in the export file gener

Re: [Dhis2-users] Events not getting auto-generated

2016-11-18 Thread Abyot Asalefew Gizaw
Is it possible to access your system so that I can take a close look? or share your db privately? -- Abyot A. Gizaw. Senior Engineer, DHIS2 University of Oslo http://www.dhis2.org On Fri, Nov 18, 2016 at 5:58 AM, Arun Paul wrote: > Hi Abyot, > > That's not the case. Anyway I cleaned the browser