Re: [Dhis2-devs] charts through API - filter by filters...

2016-09-15 Thread Morten Olav Hansen
Actually, it's the same bug.. I assume you tried on /demo ? or 224, CI hasn't build it yet.. I have started it now, so in about 30 min there should be a new war file to test That said.. the filtering doesn't actually work for these kinds of arrays, I will look into it -- Morten Olav Hansen Senio

Re: [Dhis2-devs] charts through API - filter by filters...

2016-09-15 Thread Morten Olav Hansen
Hm sounds like a bug, but different but. Let me have a look. On Friday, 16 September 2016, Olav Poppe wrote: > Thanks Morten. > > I tried filterDimensions (api/charts.json?filter=filterDimensions:in:[ou]), > but that gives "internal server error": Caused by: > org.postgresql.util.PSQLException:

Re: [Dhis2-devs] charts through API - filter by filters...

2016-09-15 Thread Olav Poppe
Thanks Morten.I tried filterDimensions (api/charts.json?filter=filterDimensions:in:[ou]), but that gives "internal server error": Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near ")" (see attached stacktrace).Is this a bug again, or is my filter wrong somehow?Olav* WARN

Re: [Dhis2-devs] Response differences between /api/metadata and /api/23/metadata

2016-09-15 Thread Morten Olav Hansen
> > Yes, what kind of error are you getting? a reference error, or a >> validation error? in the old importer, it would always try to just import >> what it could.. which was not always ideal (missing references etc was just >> ignored). If it's just reference error, and you want to ignore them.. >

[Dhis2-devs] Problem in starting apache TomCat 8 with dhis2.24 war file

2016-09-15 Thread Brajesh Murari
Hello Dev, When i am trying to deploy dhis2.24 war file available on www.dhis2.org on TomCat 8, it comes with following exceptions as given below, can somebody help me in this context ? Exception Trace 16-Sep-2016 10:39:00.348 INFO [localhost-startStop-1] org.apache.cata

Re: [Dhis2-devs] charts through API - filter by filters...

2016-09-15 Thread Morten Olav Hansen
Hi Olav At least the bug with simple collections are now fixed in 224 and master -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Sep 16, 2016 at 10:24 AM, Morten Olav Hansen wrote: > Hi Olav > > I see there is an issue there with collection of sim

[Dhis2-devs] [Bug 1624062] Re: userSettings resource doesn't work properly

2016-09-15 Thread Morten Olav Hansen
You are right, this have now been fixed in 224 and master (give our server a bit of time to re-deploy) ** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Milestone: None => 2.25 ** Changed in: dhis2 Status: New => Fix Committed --

Re: [Dhis2-devs] charts through API - filter by filters...

2016-09-15 Thread Morten Olav Hansen
Hi Olav I see there is an issue there with collection of simple type, I will have a look at it. That said, the filters (and rows) properties are only available if you use /api/charts/ID, as they are populated based on other props, so this filter will not work like that anyways. Maybe you want to

Re: [Dhis2-devs] Sierra Leone demo - tracker capture not responding?

2016-09-15 Thread Calle Hedberg
Hi Someone definitely messed it up - I downloaded the demo instance dump instead Regards calle On 15 September 2016 at 21:04, Knut Staring wrote: > Perhaps someone messed it up. You could try dev instead of demo. > > Knut > > On Sep 15, 2016 8:01 PM, "Calle Hedberg" wrote: > >> Hi >> >> I

[Dhis2-devs] charts through API - filter by filters...

2016-09-15 Thread Olav Poppe
Hi devs, I’m trying to query the API for charts where the ou dimension is set as "filter", something like this: ..api/charts.json?filter=filters.id:in:[ou] But I get 409 "Simple type was found before finished parsing path expression, please check your path string." A similar (I think) request

Re: [Dhis2-devs] Sierra Leone demo - tracker capture not responding?

2016-09-15 Thread Knut Staring
Perhaps someone messed it up. You could try dev instead of demo. Knut On Sep 15, 2016 8:01 PM, "Calle Hedberg" wrote: > Hi > > I looked a bit closer - and discovered that there are no organisation > units at all in the Sierra Leone database (select Maintenance - > > organisation Units) > > WTF?

[Dhis2-devs] [Bug 1624062] [NEW] userSettings resource doesn't work properly

2016-09-15 Thread Kamil Krampa
Public bug reported: Hi, I'm trying to get keyUiLocale property for a particular user via API. I tried /api/userSettings/keyUiLocale?user=someUsername but it doesn't return proper results. I guess the problem is here: https://github.com/dhis2/dhis2-core/blob/master/dhis-2/dhis-web/dhis-web-api/

Re: [Dhis2-devs] Sierra Leone demo - tracker capture not responding?

2016-09-15 Thread Calle Hedberg
Hi I looked a bit closer - and discovered that there are no organisation units at all in the Sierra Leone database (select Maintenance - > organisation Units) WTF? Regards Calle On 15 September 2016 at 19:55, Calle Hedberg wrote: > Hi > > I wanted to check out something on the Sierra Leone de

[Dhis2-devs] userSettings resource doesn't work properly

2016-09-15 Thread kamilkrampa
Hi, I'm trying to get keyUiLocale property for a particular user via API. I tried/api/userSettings/keyUiLocale?user=someUsername but it doesn't return proper results. I guess the problem is here:  https://github.com/dhis2/dhis2-core/blob/master/dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/

[Dhis2-devs] Sierra Leone demo - tracker capture not responding?

2016-09-15 Thread Calle Hedberg
Hi I wanted to check out something on the Sierra Leone demo -> Tracker Capture - but when clicking tracker Capture I just get "Loading meta-data" going on forever. Using Chrome Anybody else experiencing the same? Regards Calle *** Calle Hedberg 46D Alma

[Dhis2-devs] [Bug 1624020] Re: New dataset UI don't allow "default" category

2016-09-15 Thread Knut Staring
Very annoying, reported earlier here: https://bugs.launchpad.net/dhis2/+bug/1603179 -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1624020 Title: New dataset UI don't allow "default" category St

Re: [Dhis2-devs] Response differences between /api/metadata and /api/23/metadata

2016-09-15 Thread Lorill Crees
Hi Morten, Thanks for your response, and sorry for my very delayed response. I've answered inline below. Your assistance is appreciated! Thanks, Lorill On Sun, Sep 4, 2016 at 10:10 PM, Morten Olav Hansen wrote: > Hi Lorill > > Sorry for the delay in answering. > > >>1. Is there any docum

[Dhis2-devs] [Bug 1624020] [NEW] New dataset UI don't allow "default" category

2016-09-15 Thread Víctor García
Public bug reported: Tested in 2.24 rev593a9bc When creating a new Dataset using the new user interface (the one under Maintenance), it is not possible to select "default" value for the category combination. This field is left empty by default. Besides, this fact causes the failure of resource t

[Dhis2-devs] [Bug 1623966] [NEW] Build-Error

2016-09-15 Thread Brajesh Murari
Public bug reported: When i am trying to run the dhis2.24 war file using jetty plugin, it comes with following info trace but in every subsequent try, it appears as the same error info trace as given below. Can anybody help me whats going wrong in this trace...? $ mvn clean -Dmaven.test.skip=true

[Dhis2-devs] Maintenance App validation problems with '%' character

2016-09-15 Thread David Siang Fong Oh
Hi team, We are using v2.23 (from branch on GitHub) and are encountering validation issues with the '%' character in the maintenance app. This is applicable to all entities that have validation rules (i.e. DataElements, Categories etc.). The specific error is obfuscated in the JS console as a Mini

[Dhis2-devs] 2.23 Maintenance App console error - 404 Not Found "/dhis-web-maintenance/i18n/i18n_module_undefined.properties"

2016-09-15 Thread David Siang Fong Oh
Hi team, We are using v2.23 (from branch on GitHub) and are encountering the following console error in the maintenance app: *../dhis-web-maintenance/i18n/i18n_module_undefined.properties 404 (Not Found)* Version: 2.23 Revision: 979a8e9952be410438563178f47d813f3bc0a60d Maintenance App version: v

Re: [Dhis2-devs] [Bug 1623873] Re: Meta-Data-Export-Bug

2016-09-15 Thread Halvdan Hoem Grelland
It will deploy there soon (automatically). On Thu, Sep 15, 2016 at 3:34 PM, Brajesh Murari <1623...@bugs.launchpad.net> wrote: > Could you update on www.dhis2.org with your latest fix ? > > > On Thu, Sep 15, 2016 at 6:19 PM, Halvdan Hoem Grelland > wrote: > > > Fixed in 2.25 and backported to 2.

Re: [Dhis2-devs] [Bug 1623873] Re: Meta-Data-Export-Bug

2016-09-15 Thread Brajesh Murari
Could you update on www.dhis2.org with your latest fix ? On Thu, Sep 15, 2016 at 6:19 PM, Halvdan Hoem Grelland wrote: > Fixed in 2.25 and backported to 2.24. > > ** Changed in: dhis2 >Status: Confirmed => Fix Released > > -- > You received this bug notification because you are subscrib

[Dhis2-devs] [Bug 1623873] Re: Meta-Data-Export-Bug

2016-09-15 Thread Halvdan Hoem Grelland
Fixed in 2.25 and backported to 2.24. ** Changed in: dhis2 Status: Confirmed => Fix Released -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1623873 Title: Meta-Data-Export-Bug Status in

[Dhis2-devs] [Bug 1623873] Re: Meta-Data-Export-Bug

2016-09-15 Thread Halvdan Hoem Grelland
Hi and thanks for reporting! Can confirm that this is a bug. Fortunately it seems like an easy fix. Note: caused by the Boolean field ProgramRuleVariable.useUseCodeForOptionSet being mapped with @JsonSerialize( as = BaseIdentifiableObject.class ) ** Changed in: dhis2 Status: New => Confir

[Dhis2-devs] [Bug 1623873] [NEW] Meta-Data-Export-Bug

2016-09-15 Thread Brajesh Murari
Public bug reported: When i am trying to use meta data export with all selection of check boxes and when i am clicking "export" with default selection of values available in drop down, it comes with some exception as given below on link https://play.dhis2.org/demo/dhis-web- importexport/dxf2Met