Re: [Dhis2-devs] User Module - Error deleting user

2016-06-15 Thread Morten Olav Hansen
Hibernate exception should now be caught, and a web message sent back, please try it out. Also added a new default exception handler, which unwraps the message and sends back to the user (full stack trace is still available on the server). @Paulo: deletions -should- be allowed... but I don't think

Re: [Dhis2-devs] Sync Anonymous Event Data along with coordinates code fix

2016-06-15 Thread Morten Olav Hansen
Hi Could you show me the payload you are sending? this API is in use by several clients without any issues. Also, it says `Unrecognized field "programInstance"` are you sure this is really related to `@JsonIgnore` on the `Coordinate` class? It would be easier to debug if you can share the event

Re: [Dhis2-devs] Metadata import from 2.18 to 2.23

2016-06-15 Thread Morten Olav Hansen
Hi Juma >From 2.18 to 2.23 there have been quite a large number of changes. For your exact issue, it is related to the fact that organisation unit feature type was changed from a simple string, to a set of pre-defined constants. In the particular case you have here, you need to change `Polygon` t

Re: [Dhis2-devs] [Dhis2-users] Searching a person in all organization units and update he/she program stage

2016-06-15 Thread Rangarirai Matavire
Hello Adolphe, Such a scenario is currently working and being tested for the Android Tracker capture app. Perhaps you can try the app, that is if you haven't already. It has a feature to search from another facility. Regards, Ranga On 14 Jun 2016 13:03, "Kamugunga Adolphe" wrote: Hi, We are ru

Re: [Dhis2-devs] [Bug 1557996] Re: cannot-replicate-user-2.22

2016-06-15 Thread Lars Helge Øverland
I did backport to 22. Did you test it there? Same error? On Jun 15, 2016 7:19 PM, "Blake Hansen" wrote: > Hi Lars, this is still an issue it seems. Any chance of backporting? > Many thanks. > > -- > You received this bug notification because you are a bug assignee. > https://bugs.launchpad.net/bu

[Dhis2-devs] Metadata import from 2.18 to 2.23

2016-06-15 Thread Juma Lungo
Hi Please advise how can I export metadata from 2.18 and import to 2.23. The error i get is: Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of org.hisp.dhis.organisationunit.FeatureType from String value 'Polygon': value not one of declared Enum

[Dhis2-devs] [Bug 1557996] Re: cannot-replicate-user-2.22

2016-06-15 Thread Blake Hansen
Hi Lars, this is still an issue it seems. Any chance of backporting? Many thanks. -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1557996 Title: cannot-replicate-user-2.22 Status in DHIS: Fix C

[Dhis2-devs] [Bug 1592439] Re: Adding all program indicators to a report at once displays nothing!

2016-06-15 Thread Dave Palmer (MSI)
Hi Lars, sorry for delay in reply yes exactly, in the pivot app. Cheers, Dave -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1592439 Title: Adding all program indicators to a report at once d

Re: [Dhis2-devs] FW: msaaks not able to replicate users

2016-06-15 Thread Lars Helge Øverland
Hi, this is now fixed in 2.23 and trunk version . regards, Lars On Tue, May 3, 2016 at 10:44 PM, Nicola Hobby wrote: > Hi Matt, > Turns out this bug was fixed and when we upgrade to 2.23 it will be > resolved or update the version of 2.22 in the meantime. > Thanks, > Nicola > > On Tue, May 3,

Re: [Dhis2-devs] Logging for Metadata sync feature

2016-06-15 Thread Lars Helge Øverland
Thanks, great. On Wed, Jun 15, 2016 at 3:05 PM, Vanya Seth wrote: > Hi Lars > > We will make that change. > > Regards > Vanya > > On Wed, Jun 15, 2016 at 2:37 PM, Lars Helge Øverland > wrote: > >> >> Hi Vanya, >> >> I understand your concerns here. >> >> However this is fine with me - this logg

Re: [Dhis2-devs] Logging for Metadata sync feature

2016-06-15 Thread Vanya Seth
Hi Lars We will make that change. Regards Vanya On Wed, Jun 15, 2016 at 2:37 PM, Lars Helge Øverland wrote: > > Hi Vanya, > > I understand your concerns here. > > However this is fine with me - this logging is not visible to users and > there won't even be produced a log file if the sync isn't

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-06-15 Thread Jose Garcia Muñoz
Thanks Araz, crystal clear. So, waiting for 2.24 :) Thanks On Tue, Jun 14, 2016 at 10:09 AM, Araz Abishov wrote: > Hi Jose and Morten, > > Since we are relying on display[*] properties in SDK and android apps, we > will get translations as soon as api support will be there (if you are > running

[Dhis2-devs] Updating dataelements using metadata import (CSV)

2016-06-15 Thread Jose Garcia Muñoz
Dear Devs, I don't know if I am doing something wrong, but I can not update dataelements using a CSV import through the web interface (Strategy selected is New and Updates). Just copying here a simple example, where we have: name, uid (of a dataelement that currently exists), code (empty), and s

Re: [Dhis2-devs] Sync Anonymous Event Data along with coordinates code fix

2016-06-15 Thread Anilkumar Kodi
Hi Morten, This is still looking for other 2 properties to map while deserializing, we are getting exception like com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "programInstance" (class org.hisp.dhis.dxf2.events.event.Event), not marked as ignorable (22 known

[Dhis2-devs] Set up on a new DHIS2 Live instance

2016-06-15 Thread Lungu, Chris
Hi Devs We are trying to work with new DHIS2 instance on a laptop and the first thing we have done was to install the DHIS2 Live. It loads quite alright and we have exported some already exisiting meta-data from a working instance to so that we can start working on org units and other resources

Re: [Dhis2-devs] [Bug 1582637] Re: DHIS NOT DISPLAYED ON BROWSER WHEN DATA IS RESTORED TO POSTGRESQL

2016-06-15 Thread Lungu, Chris
Hi Devs We are trying to work with new DHIS2 instance on a laptop and the first thing we have done was to install the DHIS2 Live. It loads quite alright and we have exported some already exisiting meta-data from a working instance to so that we can start working on org units and other resourc

Re: [Dhis2-devs] Limit on the number of users to send a DHIS2 message to

2016-06-15 Thread Adedapo Adejumo
Hi Lars, Following up on this discussion - has there been any review of the current limitation? Thanks. Regards, Dapo Adejumo > On 16 Mar 2016, at 18:04, Elmarie Claasen wrote: > > Hi all, > > We also had this issue once. Maybe one should then get a warning when you add > >200 users to Userg

Re: [Dhis2-devs] Selected Numerator and Denominator description missing

2016-06-15 Thread Prosper BT
Thanks Lars On Wed, Jun 15, 2016 at 12:34 PM, Lars Helge Øverland wrote: > I have created an issue here: > > https://github.com/dhis2/maintenance-app/issues/184 > > Lars > > > On Wed, Jun 15, 2016 at 10:09 AM, Prosper BT wrote: > >> Thanks Knut, >> >> We weren't even thinking about resolution s

Re: [Dhis2-devs] Selected Numerator and Denominator description missing

2016-06-15 Thread Lars Helge Øverland
I have created an issue here: https://github.com/dhis2/maintenance-app/issues/184 Lars On Wed, Jun 15, 2016 at 10:09 AM, Prosper BT wrote: > Thanks Knut, > > We weren't even thinking about resolution since we were only dealing with > data elements, but I guess the developers need to do someth

Re: [Dhis2-devs] Export Metadata - Error with Content-Type header

2016-06-15 Thread Lars Helge Øverland
Hi David, On Wed, Jun 15, 2016 at 9:45 AM, David Siang Fong Oh wrote: > Just my two cents on API versioning: > >- I agree that it's good practice to retire API versions. Maintaining >too many older versions is costly. The question is how many old versions to >support. >- API vers

Re: [Dhis2-devs] Logging for Metadata sync feature

2016-06-15 Thread Lars Helge Øverland
Hi Vanya, I understand your concerns here. However this is fine with me - this logging is not visible to users and there won't even be produced a log file if the sync isn't enabled, so I'm fine with you adding a new logger to Log4JLogConfigInitializer. Let me know what you think. best regards,

Re: [Dhis2-devs] [Dhis2-users] Transfer Dataset from one server to another

2016-06-15 Thread Guy Ekani
Thanks for Sharing Muhammad ! = EKANI Guy  MOPH Cameroon Le Mercredi 15 juin 2016 9h38, Mohammad Ullah a écrit : Hello Morten, Yes these steps are for transferring dataset from 2.19 version to 2.22.  On Wed, Jun 15, 2016 at 12:53 PM, Morten Olav Hansen wro

Re: [Dhis2-devs] Transfer Dataset from one server to another

2016-06-15 Thread Mohammad Ullah
Hello Morten, Yes these steps are for transferring dataset from 2.19 version to 2.22. On Wed, Jun 15, 2016 at 12:53 PM, Morten Olav Hansen wrote: > Hi > > I see you are changing some properties, I guess this is moving from one > version of DHIS to another version? > > If you are using 2.23 or n

Re: [Dhis2-devs] Selected Numerator and Denominator description missing

2016-06-15 Thread Prosper BT
Thanks Knut, We weren't even thinking about resolution since we were only dealing with data elements, but I guess the developers need to do something about it. But also is duplication reported by Shivan a bug or intended to be so? Regards On Wed, Jun 15, 2016 at 11:02 AM, Knut Staring wrote:

Re: [Dhis2-devs] Selected Numerator and Denominator description missing

2016-06-15 Thread Knut Staring
Hi Prosper, I have encountered the same problem, and it is very annoying. It is still there, but too far down, so that with many resolutions you it is outside the screen. I think it should be moved up to replace the compulsory description, which I am not sure is needed at all. Knut On Wed, Jun

Re: [Dhis2-devs] Export Metadata - Error with Content-Type header

2016-06-15 Thread David Siang Fong Oh
Just my two cents on API versioning: - I agree that it's good practice to retire API versions. Maintaining too many older versions is costly. The question is how many old versions to support. - API versioning should allow application developers to upgrade their DHIS2 server without

Re: [Dhis2-devs] Logging for Metadata sync feature

2016-06-15 Thread Vanya Seth
Hi Lars The metadata versioning and sync is an optional feature. It totally depends on the deployment strategy that we want to adopt and given that whether we choose to do metadata sync or not. For these reasons adding the metadata sync log as a first class citizen to the Log4JLogConfigInitialize

Re: [Dhis2-devs] Export Metadata - Error with Content-Type header

2016-06-15 Thread Lars Helge Øverland
Hi Vanya, retiring API versions is what most vendors do. There is a balance between the cost of maintaining old versions vs producing new features and providing a modern application. We know that things inevitably change over time due to needs from users. The API versioning is meant to provide a

Re: [Dhis2-devs] Logging for Metadata sync feature

2016-06-15 Thread Lars Helge Øverland
Hi there, okay. It would be great if we do not introduce another way of doing logging. The problem is that resolving the DHIS2_HOME directory is a bit complex - the system looks for the system property dhis2.home, the env variable DHIS2_HOME, then falls back to opt/dhis2. log4j 1 does not support

[Dhis2-devs] Selected Numerator and Denominator description missing

2016-06-15 Thread Prosper BT
Dear team, Previously whenever you selected a data element(a) to use as numerator or denominator the name(s)/formula if applied would display in the lower part of the edit box but now it doesn't not show making it very difficult to cross check after selection and editing there after. Also the "va