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

2016-06-13 Thread Morten Olav Hansen
Hi again I'm not sure how this is handled in the SDK, but unless they are using translate=false, it should "just work". Of course they must be using `displayName` etc, but probably they are already doing that (I'm sure Araz can confirm if that's the case) -- Morten Olav Hansen Senior Engineer,

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

2016-06-13 Thread Jose Garcia Muñoz
That's great! Happy to hear that! Thanks Morten, So, do you know when it is going to be pusblished in the SDK as well? Is it going to be introduced in the new SDK version? Thanks Jose On Tue, Jun 14, 2016 at 6:06 AM, Morten Olav Hansen wrote: > Hi Jose > > We have

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

2016-06-13 Thread Morten Olav Hansen
Hi Jose We have re-implemented the way translations work in 2.24, so this should not be a problem anymore, even nested field queries will be translated (as long as the app is using displayName and not name), it will require a bit more testing, but it should work fine -- Morten Olav Hansen

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

2016-06-13 Thread Jose Garcia Muñoz
Hi Araz, Morten, I am reopening this old thread (sorry for that :) ), just to know if you have some updates regarding the use of multilingual in the DHIS2-SDK (we are mainly interested in the options of the optionsets). Have you had a chance to work on it? Is this something that will come up

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

2016-06-13 Thread Morten Olav Hansen
Hi Jason Yes, the idea is that your app should target a specific API version. We are discussing letting /api/ always be the latest, -but- one of the reasons for adding versioning at all, was that we wanted to make more breaking changes... so if you app only targets /api/ and not /api/{version}

Re: [Dhis2-devs] build event tracker fail

2016-06-13 Thread rudi hidayat
Hi Araz thanks for your info, I can build successfully after checkout source code from develop branch thanks so much :) regards *rudi hidayat* (rudihida...@gmail.com) On Mon, Jun 13, 2016 at 3:55 PM, Araz Abishov wrote: > Hi Sultanahamar, > > Both master and develop

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

2016-06-13 Thread Jason Pickering
Hi Morten, I am a bit confused by this. Will we have to provide the explicit api version of the current version? So if we are on 2.24,will all API calls to the default API require the current version of the server? Regards, Jason On Mon, Jun 13, 2016, 18:58 Paulo Grácio

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

2016-06-13 Thread Paulo Grácio
Ok, will create the tests based on /api/23/metadata. Thanks, Paulo On Mon, Jun 13, 2016 at 11:17 AM Morten Olav Hansen wrote: > No, that won't work right now, that endpoint is anyways getting deprecated > (replaced by /api/23/metadata and /api/24/metadata) > > -- > Morten

Re: [Dhis2-devs] [Dhis2-users] Capture coordinates

2016-06-13 Thread Sergio Valenzuela
Thanks for your reply Prosper. We hadn't considered the program indicator option. We will give it a try. Anyway, we finally won't use individual coordinates for sure (we realized we don't need them). Regards! *Sergio Valenzuela* Fundación EHAS Telemedicina para países en desarrollo -*

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

2016-06-13 Thread Paulo Grácio
Hi Lars, you can find the server.log in attach. The test case is also available here https://github.com/pgracio/dhis2-api-system-test/blob/master/modules/users.js BR, Paulo On Mon, Jun 13, 2016 at 10:01 AM Lars Helge Øverland wrote: > Hi Paulo, > > can you check the tomcat log

Re: [Dhis2-devs] No Roots Found?

2016-06-13 Thread Mark Polak
Hey Tim, Is your user assigned an organisation unit? I'm not sure if that is the issue but that is my first guess. The user you're working with is likely not assigned to an org unit. Assigning yourself to the root org unit should do the trick. But we need to extend it for the case that when

Re: [Dhis2-devs] No Roots Found?

2016-06-13 Thread Timothy Harding
Blarg! Email sent instead of pasting the version, Command + Return FTL Version:2.23Build revision:22993 *Timothy Harding* Sr. Systems Analyst, BAO Systems +1 202-536-1541 | thard...@baosystems.com | http://www.baosystems.com | Skype: hardi...@gmail.com | 2900 K Street, Suite 404, Washington

[Dhis2-devs] No Roots Found?

2016-06-13 Thread Timothy Harding
Hey Devs! I'm currently on: Not sure if this is a recurring bug, or it is still the same one before. When I go to make a category option it says: [image: Inline image 1] I went and created one, updated the levels - no roots I cleared cache - no roots I updated the resource tables, cleared

[Dhis2-devs] [Bug 1577772] Re: Translation of form name isn't display

2016-06-13 Thread Dapo Adejumo
Hi Lars, This issue is also in 2.22 , can you kindly backport this fix to 2.22 as well? 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/152 Title: Translation of form name isn't

Re: [Dhis2-devs] [Bug 1588797] Re: messageConversations api not sending email per user

2016-06-13 Thread Alex Tumwesigye
Hi Lars, Thanks. I reported it. See https://bugs.launchpad.net/dhis2/+bug/1591697 Thanks and looking forward to the fix as the IDSR notifications can not be tested. Alex On Mon, Jun 13, 2016 at 2:39 PM, Mike Nelushi wrote: > Hi Lars, > > Where you able to look at

Re: [Dhis2-devs] [Bug 1588797] Re: messageConversations api not sending email per user

2016-06-13 Thread Mike Nelushi
Hi Lars, Where you able to look at this issue? I saw similar bug report*([Dhis2-devs] [Bug 1591697] [NEW] Feedback and Sending Messages via api/messageConversations fails with Null Pointer* *). * Please advice, Regards, Mike On Wed, Jun 8, 2016 at 10:41 PM, Mike Nelushi

Re: [Dhis2-devs] MetadataVersion to be shown in the "About" section

2016-06-13 Thread Lars Helge Øverland
Okay thanks. My concern is that this will be a bit confusing to users not using the meta-data feature, or having no knowledge about this. Also, this is not strictly meta-data versioning per se - rather a way to download meta-data packages - there is no guarantee that the entire database will be

Re: [Dhis2-devs-core] ApiVersioning redux

2016-06-13 Thread Halvdan Hoem Grelland
OK I will. On Mon, Jun 13, 2016 at 4:27 AM, Morten Olav Hansen wrote: > Halvdan > > I haven't been able to reproduce all of your issues, but I have added some > more tests.. when you merge in this branch, please let me know.. and I will > test against programStageNotifications

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

2016-06-13 Thread Morten Olav Hansen
No, that won't work right now, that endpoint is anyways getting deprecated (replaced by /api/23/metadata and /api/24/metadata) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Jun 13, 2016 at 4:11 PM, Paulo Grácio wrote: > Hi

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

2016-06-13 Thread Paulo Grácio
Hi Morten, yes removing Content type header makes it work but shouldn't it work with that header also? It works fine for other GET API calls. /Paulo On Mon, Jun 13, 2016 at 10:11 AM Morten Olav Hansen wrote: > Hi Paulo > > Is there any reason you are doing this request? I

Re: [Dhis2-devs] build event tracker fail

2016-06-13 Thread Araz Abishov
Hi Sultanahamar, Both master and develop branches are stable at the moment (you should be able to build from both of them). The only difference is that develop branch is ahead of master and has dependency on latest android plugin for gradle (which can probably fix aforementioned problem of Rudi).

Re: [Dhis2-devs] build event tracker fail

2016-06-13 Thread Sultanahamar Mohammad
Hi Araz, I think the current stable branch is worth mentioning in README.md so that everyone would be able to build the apps on their own. Regards, Sultan Ahamar. On Mon, Jun 13, 2016 at 11:04 AM, Araz Abishov wrote: > Hi Rudi, > > You need to switch both SDK and EventCapture

Re: [Dhis2-devs] [Dhis2-users] Tracker program stage reporting date

2016-06-13 Thread Sultanahamar Mohammad
Hi Lars, Our particular use case was to use event dates from two different stages and create a indicator. Someone from dhis already replied that this is not part of functionality yet. Event date for each stage is not part of Data elements, variables, attributes and constants which show up while

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

2016-06-13 Thread Morten Olav Hansen
Hi Paulo Is there any reason you are doing this request? I assume you want XML back? you dont need to set input content-type as you are not sending anything, and some of our internal gets a bit confused because of this... removing content-type makes it work -- Morten Olav Hansen Senior

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

2016-06-13 Thread Lars Helge Øverland
Hi Paulo, can you check the tomcat log on the server side? What likely is going on here is the user being associated with multiple objects through sharing (e.g. data elements), or as owner (e.g. favorites). The deletion handling of users is not fully in place, simply because almost all of our

Re: [Dhis2-devs] [Dhis2-users] Tracker program stage reporting date

2016-06-13 Thread Lars Helge Øverland
Hi Sultan, I agree it would be useful to have a "special" variable for counting events per program stage. Just to sure we are answering your question, could you please tell us exactly which indicator expression you are trying to create? Assuming you simply want to count the number of admission,

[Dhis2-devs] event tracker error after updating to 2.23

2016-06-13 Thread Annisa Ristya
Hi We are currently developing DHIS2 Tracker for Dengue Surveillance using version 2.21 but since the mobile version that available in Play Store is version 2.23 then we updated our DHIS directly from 2.21 to 2.23 and skip the 2.22v. Now we found some problem, when I clicked on certain data set