Re: [Dhis2-devs] Program rule - selected field to hide changes to None

2016-10-06 Thread David Itana
Dear DHIS2 community, I am experiencing a similar problem on my instance; Version: 2.24 Build revision: 704143a Build date: 2016-10-06 06:20 I have trying using previous WAR files of 2.24, but results in the same problem. The difference is that on my instance the selected fields to

[Dhis2-devs] JavaScript - Code Convention

2016-10-06 Thread Paulo Grácio
Hi devs, are you guys following any code convention for JS? Br, -- Paulo ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help :

Re: [Dhis2-devs] Program rules no longer working

2016-10-06 Thread Calle Hedberg
Hi Tracked down the issue with assistance from Markus: Caused by this known bug: https://github.com/dhis2/dhis2-core/issues/153 Please fix that bug asap, or else block users from using section names with apostrophies Regards calle On 6 October 2016 at 22:14, Calle Hedberg

[Dhis2-devs] Program rules no longer working

2016-10-06 Thread Calle Hedberg
Hi I'm having a major problem with an instance (2.24 latest), where I'm no longer able to define or save a program rule - it returns the following error: HTTP Status 404 - There is no Action mapped for namespace [/dhis-web-maintenance-program] and action name [addProgramRule] associated with

Re: [Dhis2-devs] dhis 2.24 front-end issue

2016-10-06 Thread Nicolas Germeau
Nope 1 first level (root) and two on level two. On Thu, Oct 6, 2016 at 3:33 PM, Mark Polak wrote: > Hey Nicolas, > > When you say 3 organisation units do you mean 3 units on first level? > > On Thu, Oct 6, 2016 at 2:43 PM, Nicolas Germeau > wrote: > >>

[Dhis2-devs] [Bug 1631021] Re: DataType COORD - rounding missing

2016-10-06 Thread Lars Helge Øverland
** Changed in: dhis2 Milestone: None => 2.25 ** Changed in: dhis2 Importance: Undecided => Low ** Changed in: dhis2 Importance: Low => Wishlist -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

[Dhis2-devs] [Bug 1631019] Re: Tracker - program attribute table not maintained

2016-10-06 Thread Lars Helge Øverland
** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Milestone: None => 2.25 -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1631019 Title: Tracker - program

Re: [Dhis2-devs] Ruby client for DHIS2 API available

2016-10-06 Thread Lars Helge Øverland
Hi Martin, this is great. Many thanks for sharing! best regards, Lars On Thu, Oct 6, 2016 at 3:39 PM, Martin Van Aken wrote: > Hello, > We're using DHIS2 REST API a lot from our Ruby applications so we've > created a simple Ruby wrapper around the API to make its

[Dhis2-devs] [Bug 1631021] [NEW] DataType COORD - rounding missing

2016-10-06 Thread Calle Hedberg
Public bug reported: When using the COORD type in tracker, and picking some coordinate from the map, the coordinates appear with 15 decimals. That level of precision makes no sense - it should be automatically rounded to 6 decimals (equivalent to around 10-20cm accuracy, more than enough for

[Dhis2-devs] [Bug 1631019] [NEW] Tracker - program attribute table not maintained

2016-10-06 Thread Calle Hedberg
Public bug reported: When making changes to the attributes for a tracker program, any changes to attributes will leave behind records in the program attribute table where the programid field has been NULLed out. This is messy, and such "deactivated" garbage records will also block an irrelevant

Re: [Dhis2-devs] error when deploing dhis 2.24 on windows

2016-10-06 Thread Bob Jolliffe
Bad war file is what it looks like to me too. Guy if you are going to do two things (change war file and change jdk) do them one at a time and test. That way you will learn which was the culprit. On 6 October 2016 at 15:06, Morten Olav Hansen wrote: > Probably a damaged war

Re: [Dhis2-devs] error when deploing dhis 2.24 on windows

2016-10-06 Thread Guy Ekani
Thank u Olav and Lars, I will try to downloadd the lastest build on http://ci.dhis2.org/job/dhis2-2.24/ and update to the lastest Java JDK 8 On Thu, Oct 6, 2016 at 2:06 PM, Morten Olav Hansen wrote: > Probably a damaged war file (java.util.zip.ZipException: invalid LOC >

[Dhis2-devs] Ruby client for DHIS2 API available

2016-10-06 Thread Martin Van Aken
Hello, We're using DHIS2 REST API a lot from our Ruby applications so we've created a simple Ruby wrapper around the API to make its usage easier. It's available on rubygems under the name "dhis2". The code is available on GitHub (https://github.com/blsq/dhis2), under a MIT licence. If anyone

Re: [Dhis2-devs] dhis 2.24 front-end issue

2016-10-06 Thread Mark Polak
Hey Nicolas, When you say 3 organisation units do you mean 3 units on first level? On Thu, Oct 6, 2016 at 2:43 PM, Nicolas Germeau wrote: > Hi there, > > I have a problem with dhis2 2.24 and the maintenance interface (react) in > the organisation units panel. Despite

Re: [Dhis2-devs] error when deploing dhis 2.24 on windows

2016-10-06 Thread Morten Olav Hansen
Probably a damaged war file (java.util.zip.ZipException: invalid LOC header (bad signature)), please try to download the WAR file again -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Oct 6, 2016 at 8:02 PM, Lars Helge Øverland

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-10-06 Thread Lars Helge Øverland
Hi Vanya, yes agree, now we typically embed the upgrade statements within DHIS 2 itself, as we have learnt that people often forget to run upgrade statements which causes all kinds of problems. regards, Lars On Tue, Oct 4, 2016 at 11:31 AM, Vanya Seth wrote: > Hi

Re: [Dhis2-devs] error when deploing dhis 2.24 on windows

2016-10-06 Thread Lars Helge Øverland
Hi Guy, try to upgrade to the latest Java JDK 8 version, and the latest Tomcat 8 version. Suspect this is some JDK bug. regards, Lars On Thu, Oct 6, 2016 at 2:47 PM, Guy Ekani wrote: > Hello Team, > > I get the following error when trying to deploy dhis 2.24 on

Re: [Dhis2-devs] Cannot create new program stage reminder template

2016-10-06 Thread Sam Johnson
Hi Knut and Lars, Many thanks for such a prompt response. Knut, thanks for the reminder about the upgrade notes; apologies, I should have been clearer: I did actually follow these upgrade instructions, noting the one SQL script (which I didn’t bother running, as at the time I hadn’t created

[Dhis2-devs] error when deploing dhis 2.24 on windows

2016-10-06 Thread Guy Ekani
Hello Team, I get the following error when trying to deploy dhis 2.24 on windows 7 Please could you help ? Windows 7 - 64bits Apache Tomcat/8.0.37 JVM Version: 1.8.0_101-b13 PostGreSql 9.3 -- = EKANI Guy 06-Oct-2016 13:34:13.506 INFO [main]

[Dhis2-devs] dhis 2.24 front-end issue

2016-10-06 Thread Nicolas Germeau
Hi there, I have a problem with dhis2 2.24 and the maintenance interface (react) in the organisation units panel. Despite my research I can't see what's the root cause. I actually have strange behaviour of the whole interface and more specifically the organisation unit tree. By strange, I mean

Re: [Dhis2-devs] Cannot create new program stage reminder template

2016-10-06 Thread Lars Helge Øverland
Hi Sam, okay. You would probably like to know that for 2.25, the "reminder message template" functionality has been replaced by a new version referred to as "program notifications" and "program stage notifications". This is a better implementation of the notifications system and is mostly

Re: [Dhis2-devs] Reg: DHIS2 docker instance.

2016-10-06 Thread Nalinikanth Meesala
Hey Jason/Paulo, I have sent a pull request to merge the tests that we have till now. I got an issue while running a test for all the APIs The test is calling an API with improper authorization. When an API is called with improper authorization it should give 401 status. I used to get this

Re: [Dhis2-devs] Cannot create new program stage reminder template

2016-10-06 Thread Knut Staring
Hi Sam, Please see this link for upgrade scripts: https://www.google.no/search?q=upgrade+script+site%3Adhis2.org Knut On Thu, Oct 6, 2016 at 1:26 PM, Sam Johnson wrote: > Hi all, > > > > I’m using a 2.24 instance which I’ve just updated to 704143a, and am >

[Dhis2-devs] Cannot create new program stage reminder template

2016-10-06 Thread Sam Johnson
Hi all, I’m using a 2.24 instance which I’ve just updated to 704143a, and am attempting to create reminder templates on a repeatable program stage. I can successfully use the front end to create this reminder on one of the program stages on play.dhis2.org/demo, but when I attempt it in my own

Re: [Dhis2-devs] Upgrading DHIS2 from 2.21 to 2.24 and using new exporter/importer

2016-10-06 Thread Aamer Mohammed
Hi Lars, Thanks for the fix (removal of constraint). Yes we are trying to import the metadata into a new 2.24 db. The metadata is exported from an instance which is upgraded from 2.21 to 2.24. 1) After your fix, there is no constraint violation error and we are able to continue further. But this

Re: [Dhis2-devs] custom form in Tracker Capture

2016-10-06 Thread Alex Tumwesigye
Dear Channara, Use angular $watch to watch the models changes. Attribute model is $scope.selectedTei.uid event model is $scope.currentEvent.uid For Jquery, use $(selectedTei.uid).val("Your value").trigger('input'); For angular, This $scope.selectedTei.uid will pick your value, however, you

[Dhis2-devs] custom form in Tracker Capture

2016-10-06 Thread channara rin
Dear all, do you know any jquery script for tracker capture custom form to catch require attributes fields and unique attribute field? for example, when i edit client's profile in tracker capture. if i do some things wrong format of attribute fields, when i click update/save. i didn't see any

Re: [Dhis2-devs] [Dhis2-users] Datasets for Approval in Reports Module are limited to 50 (page 1) due to the api query used

2016-10-06 Thread Kamugunga Adolphe
Thanks Alex for raising this, we are experiencing this after upgrading our instances to 2.23. While the bug is no yet fixed what can we do mean-time ? Regards, *Adolphe Kamugunga* *MIS Technical Advisor* Mobile: +250 788 740 578 Email:kaa...@gmail.com Skype: ka.adolphe RWANDA On 6 October

[Dhis2-devs] Datasets for Approval in Reports Module are limited to 50 (page 1) due to the api query used

2016-10-06 Thread Alex Tumwesigye
Dear Devs, Datasets for Approval in Reports Module are limited to 50 (page 1) due to the api query used " *..api/dataSets.json?fields=id,displayName,periodType,workflow,categoryCombo[id,displayName]"* This line needs to be changed to ".