[Dhis2-devs] 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 () {

Re: [Dhis2-devs] Average (sum in org unit hierarchy) not working in 2.24 and 2.25?

2016-11-18 Thread Jose Garcia Muñoz
Great news! Thanks Lars. Would it be possible to also fix this for 2.25? And about the rounding problems... is there any solution for that? [image: Inline image 1] With periods as filters, we get 10.2 instead of 10.. [image: Inline image 2] Thanks Lars! On Thu, Nov 17, 2016 at 4:49 PM, Lars

[Dhis2-devs] 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

Re: [Dhis2-devs] [Dhis2-users] 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

Re: [Dhis2-devs] [Dhis2-users] 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

Re: [Dhis2-devs] [Dhis2-users] 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

Re: [Dhis2-devs] [Dhis2-users] 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

Re: [Dhis2-devs] [Dhis2-users] 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-devs] [Dhis2-users] 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

Re: [Dhis2-devs] [Dhis2-users] 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

Re: [Dhis2-devs] [Dhis2-users] 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

Re: [Dhis2-devs] [Dhis2-users] 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

[Dhis2-devs] Translations of dataelement descriptions on Tracker Capture

2016-11-18 Thread Victor Garcia
Hi all, we just noticed that translations of dataelement descriptions are not shown on tracker capture when clicking on the dataelement name. Form name is translated, but description is always shown in reference language. Checked today on demo server. Thank you, Víctor

Re: [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

Re: [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-devs] [Bug 1638563] Re: 2.24 Data Entry not showing entered values for optionsets

2016-11-18 Thread Lars Helge Øverland
Thanks, sounds good. On Thu, Nov 17, 2016 at 9:27 PM, Timothy Harding wrote: > Tested and working, thanks devteam!!! > > > *Timothy Harding* > Sr. Systems Analyst, BAO Systems > +1 202-536-1541 | thard...@baosystems.com | http://www.baosystems.com | > Skype: >

Re: [Dhis2-devs] java.lang.NumberFormatException in dhis 2.25 log

2016-11-18 Thread Aamer Mohammed
Sure Nicolay. Thanks for the update. On Fri, Nov 18, 2016 at 3:15 PM, Nicolay Ramm wrote: > Hi Aamer, > > this issue has been fixed but not yet deployed to all apps. Fortunately > the only consequence is an ugly stack trace in the log, but beyond that it > doesn't actually

Re: [Dhis2-devs] [Dhis2-users] 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:

Re: [Dhis2-devs] SQL Exception when selecting event data items in pivot tables

2016-11-18 Thread Lars Helge Øverland
This issue was in fact already reported here: https://github.com/dhis2/maintenance-app/issues/278 Lars On Thu, Nov 17, 2016 at 5:03 PM, Lars Helge Øverland wrote: > Hi Jose, > > this is caused by the "None" aggregation type. It needs to be set in order > to have the event

Re: [Dhis2-devs] [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,

Re: [Dhis2-devs] java.lang.NumberFormatException in dhis 2.25 log

2016-11-18 Thread Nicolay Ramm
Hi Aamer, this issue has been fixed but not yet deployed to all apps. Fortunately the only consequence is an ugly stack trace in the log, but beyond that it doesn't actually cause any problems. Therefore we're prioritising fixing other bugs that have more serious consequences first. We will get

Re: [Dhis2-devs] java.lang.NumberFormatException in dhis 2.25 log

2016-11-18 Thread Aamer Mohammed
This is still an issue with the latest 2.25 revision. Any updates on this. On Wed, Nov 2, 2016 at 11:40 AM, Knut Staring wrote: > I have also seen this, on fresh installs. > > On Nov 2, 2016 7:05 AM, "Aamer Mohammed" wrote: > >> Hi >> >> We see the

[Dhis2-devs] 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

Re: [Dhis2-devs] Phone Number not supported as Data element value type

2016-11-18 Thread Abyot Asalefew Gizaw
Hi Prosper, A fix is deployed. -- Abyot A. Gizaw. Senior Engineer, DHIS2 University of Oslo http://www.dhis2.org On Fri, Nov 18, 2016 at 9:09 AM, Abyot Asalefew Gizaw wrote: > Ok, it is because we made our forms some how strict ... will be fixed soon. > > -- > Abyot A.

Re: [Dhis2-devs] Phone Number not supported as Data element value type

2016-11-18 Thread Abyot Asalefew Gizaw
Ok, it is because we made our forms some how strict ... will be fixed soon. -- Abyot A. Gizaw. Senior Engineer, DHIS2 University of Oslo http://www.dhis2.org On Fri, Nov 18, 2016 at 5:15 AM, Prosper BT wrote: > Dear Team, > > With the latest build of 2.25, >

Re: [Dhis2-devs] [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