[Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Jason Pickering
Hi Devs, There seem to be some issues updating a users locale in the latest dev snapshot. It is not possible to update a users locale. POST to https://play.dhis2.org/dev/api/25/userSettings/keyUiLocale with "es" (the header sent by the app when swtiching from English to Spanish) yields an HTTP

[Dhis2-devs] Upcoming DHIS 2 Academies

2016-10-03 Thread Alice Aké Loba
Upcoming DHIS 2 Academies View this email in your browser [https://gallery.mailchimp.com/d86b474ea589b655ce766f7f3/images/f743725e-1ced-4e58-8c9e-7d48eca0c903.jpg] [https://gallery.mail

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Nicolay Ramm
Hi Jason, is this happening with the settings app? It sounds like an issue that was fixed recently, where plain text values were being encoded as JSON. As long as you're running v25.0.5 or higher of the settings app, you should be fine. Check the browser console when you start the app. The versio

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Jason Pickering
OK. I tried a direct post without the app,and got the same thing. Will try again however just to be sure. Regards, Jason On Mon, Oct 3, 2016, 2:04 PM Nicolay Ramm wrote: > Hi Jason, > > is this happening with the settings app? It sounds like an issue that was > fixed recently, where plain text

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Nicolay Ramm
Keep in mind that the system settings API endpoint only accepts text/plain, not json. So the value should be just es without quotes, not "es" with quotes: curl -u admin:district https://play.dhis2.org/dev/api/systemSettings/keyUiLocale -X POST -H 'Content-Type: text/plain' -d es Nicolay Ramm Fro

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Halvdan Hoem Grelland
It's currently broken on /dev, so I'm guessing you didn't deploy... On Mon, Oct 3, 2016 at 2:20 PM, Nicolay Ramm wrote: > Keep in mind that the system settings API endpoint only accepts > text/plain, not json. So the value should be just es without quotes, not > "es" with quotes: > > curl -u adm

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Jason Pickering
OK, I tried in incognito mode on https://play.dhis2.org/dev/ and got the same error. Still cache? Regards, Jason On Mon, Oct 3, 2016 at 2:20 PM, Nicolay Ramm wrote: > Keep in mind that the system settings API endpoint only accepts > text/plain, not json. So the value should be just es without

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Nicolay Ramm
I also tried in incognito mode on https://play.dhis2.org/dev/ and I got no error.. What exactly are you doing? And which browser/version are you on? Nicolay Ramm Front end developer, DHIS 2 University of Oslo https://www.dhis2.org On Mon, Oct 3, 2016 at 2:27 PM, Jason Pickering wrote: > OK, I

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Jason Pickering
Browser = Version 53.0.2785.116 (64-bit ) on Ubuntu All I am doing is changing the locale from English to Spanish (or vice versa). On Mon, Oct 3, 2016 at 2:30 PM, Nicolay Ramm wrote: > I also tried in incognito mode on https://play.dhis2.org/dev/ and I got > no error.. > > What exactly are

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Nicolay Ramm
Right, I was looking at the system settings app. I can reproduce in the user profile app. Will deploy a new version. Nicolay Ramm Front end developer, DHIS 2 University of Oslo https://www.dhis2.org On Mon, Oct 3, 2016 at 2:33 PM, Jason Pickering wrote: > Browser = Version 53.0.2785.116 (64-bi

[Dhis2-devs] [Bug 1629864] [NEW] aggregation levels not saved

2016-10-03 Thread Olav P
Public bug reported: 2.24 maintenance app does not save aggregation levels that have been selected. Reproduced on play demo instance. Looking at the payload when saving a data element (editing or adding new), aggregationLevels that have been selected are simply not included (always aggregationLev

[Dhis2-devs] Queries to programs with category combinations present on version 2.23

2016-10-03 Thread eric mourin
Hi everyone! We've added a new dimension on the event capture app using category combinations, but we noticed that once you request for all the events of a single program you now need to specify the category combinations too and query for all of them doing separate requests. We believe that,

Re: [Dhis2-devs] Cannot change locale in DEV

2016-10-03 Thread Nicolay Ramm
Should be fixed in the latest version (user profile app v25.0.5). It could take a while before the new version is on play.dhis2.org/dev though. Thanks for reporting! Nicolay Ramm Front end developer, DHIS 2 University of Oslo https://www.dhis2.org On Mon, Oct 3, 2016 at 2:40 PM, Nicolay Ramm w

Re: [Dhis2-devs] Pull request for /api/interpretations/chart/{chartId} to add new request param 'ou'

2016-10-03 Thread David Siang Fong Oh
Hi Lars, Thanks for merging in our pull request. We're planning to upgrade our DHIS instance to v2.23 and v2.24 over the coming months, so could you please apply the same changes to the 2.23 branch and 2.24 branch