[Dhis2-devs] Error on PUT /api/users

2015-02-24 Thread Sandesh Sukumar Doolipeta
Hi, When we are trying to disable a user, we are getting 500 internal server error on rev 18400. The payload we are sending to PUT /api/users/jPlfVa5y0dE is as below. { "firstName": "FNU", "surname": "LNU", "userCredentials": { "code": "fnu_lnu", "name": "FNU LNU",

Re: [Dhis2-devs] api for scheduling generation of resource tables

2015-02-18 Thread Sandesh Sukumar Doolipeta
On Wed, Feb 18, 2015 at 4:02 PM, Lars Helge Ă˜verland wrote: > Great, thanks. > > On Wed, Feb 18, 2015 at 11:31 AM, Sandesh Sukumar Doolipeta < > sande...@thoughtworks.com> wrote: > >> Hi Lars , >> >> Yes , i will take this up and submit a patch soon. >

Re: [Dhis2-devs] api for scheduling generation of resource tables

2015-02-18 Thread Sandesh Sukumar Doolipeta
(scheduleTasks(Map)) > > Have a look in ScheduleTasksAction for example usage. > > Let me know if you would like to take this on. > > regards, > > Lars > > > > On Wed, Feb 18, 2015 at 10:01 AM, Sandesh Sukumar Doolipeta < > sande...@thoughtworks.com> wrote: &g

[Dhis2-devs] api for scheduling generation of resource tables

2015-02-18 Thread Sandesh Sukumar Doolipeta
Hi , We want to schedule the resource table generation for every 15 mins. For now , we are manually doing this through data Administration > scheduling. Though this is a one time setup , we would like to achieve this while running scripts to setup DHIS. Is there a web api using which we can achie

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-15 Thread Sandesh Sukumar Doolipeta
Hi Lars , The chart ID in the payload sent to you was changed. When we tried posting in the app , we used a valid chart ID. On Sun, Feb 15, 2015 at 4:53 PM, Lars Helge Ă˜verland wrote: > Hi Mansi, > > is the request you included in the email the same as you used when > attempting to POST? If

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-13 Thread Sandesh Sukumar Doolipeta
Hi , Did anyone have a chance to take a look at this issue? . We are still facing the same issue on rev no. 18249. On Wed, Feb 11, 2015 at 2:35 PM, Mansi Singhal wrote: > Hey Lars, > > dashboardItem table has uid column. PFA the snapshot for the same. > > On Wed, Feb 11, 2015 at 2:33 PM, Lars H

Re: [Dhis2-devs] Error on DHIS startup

2015-02-11 Thread Sandesh Sukumar Doolipeta
BLE dashboard ADD COLUMN uid character varying(11); > > then restart dhis - should populate the uids. > > Lars > > > On Tue, Feb 10, 2015 at 8:13 AM, Sandesh Sukumar Doolipeta < > sande...@thoughtworks.com> wrote: > >> Hi, >> >> There is an erro

[Dhis2-devs] Error on DHIS startup

2015-02-09 Thread Sandesh Sukumar Doolipeta
Hi, There is an error when DHIS (rev 18213) starts up. "uid" column is missing from "dashboard" table. Below is postgres screenshot. [image: Inline image 1] Here's the stack trace. ERROR 2015-02-10 12:27:59,062 Problem updating: dashboard, id column: dashboardid (IdentityPopulator.java [main]

[Dhis2-devs] Groups button missing on the Dashboard page

2015-01-27 Thread Sandesh Sukumar Doolipeta
Hi , The Groups button is missing on the dashboard page even though the user has 'ALL' permissions assigned. This was present in 2.17. Is this intentional? We are on rev number 18080. -- *Sandesh Doolipeta**Application Developer* emailsande...@thoughtworks.com Telephone9686062727 [image: Though

[Dhis2-devs] Data Set Section button missing in Data Sets tab

2015-01-27 Thread Sandesh Sukumar Doolipeta
Hi , On navigating to the Data Sets app, the "Data Set Section" button is not showing up. It was present in 2.17. Is this a bug ? We are on rev number 18080. -- *Sandesh Doolipeta**Application Developer* emailsande...@thoughtworks.com Telephone9686062727 [image: ThoughtWorks]

Re: [Dhis2-devs] Dashboards not showing up for non-admin users

2015-01-20 Thread Sandesh Sukumar Doolipeta
base tables to see if the dashboards > actually have 1) a userid set to some user 2) a publicaccess string set to > '' or some valid not null value ? > > regards, > > Lars > > > > > > > On Mon, Jan 19, 2015 at 6:24 AM, Sandesh Sukumar Doolipeta

[Dhis2-devs] Dashboards not showing up for non-admin users

2015-01-18 Thread Sandesh Sukumar Doolipeta
Hi, In the latest build Rev No. 18040, the non-admin users are not able to view the dashboards which are assigned to their respective user groups. On investigating further, we figured out that giving paging=false param to /api/dashboards is causing the problem. This issue only occurs when user is

Re: [Dhis2-devs] Organisation Units not showing up correctly on Data Visualizer

2015-01-18 Thread Sandesh Sukumar Doolipeta
and > wrote: > >> Hi, >> >> yes this is bug, something which sneak in during a refactor last week. We >> will fix as soon as possible. >> >> regards, >> >> Lars >> >> >> On Fri, Jan 16, 2015 at 11:33 AM, Sandesh Sukumar Doolipeta &

[Dhis2-devs] Organisation Units not showing up correctly on Data Visualizer

2015-01-16 Thread Sandesh Sukumar Doolipeta
Hi , We are on the latest revision : 18015. In the data visualizer , we see that the user can only select the assigned orgunit and its children. For instance , If the user is assigned to a country (Org unit level 3 in our case) then , the user is able to see/select only the coun

[Dhis2-devs] /api/analytics not returning values for the correct period

2015-01-09 Thread Sandesh Sukumar Doolipeta
Hi , We are using the /api/analytics api to get the analytics data for a particular period using the dimension filter. The following is the call we are making , * /api/analytics?dimension=dx:someid&dimension=pe:THIS_YEAR* Though the period specified using the 'pe' parameter is 'TH

[Dhis2-devs] Change in contract in /users api

2014-11-23 Thread Sandesh Sukumar Doolipeta
Hi Lars, We are on revision number 17565 of DHIS branch. And we noticed that , the structure of the user json has been changed, i.e the "userAuthorityGroups" field has been changed to "userRoles". Is there any particular reason for this change ? . Also , what about the backward comp

Re: [Dhis2-devs] OrgUnit Caching with Etag.

2014-10-22 Thread Sandesh Sukumar Doolipeta
; cache control). It should not be necessary to also set cache-control, > unless it is already set to no-cache.. > > Lars > > > On Wed, Oct 22, 2014 at 10:50 AM, Sandesh Sukumar Doolipeta < > sande...@thoughtworks.com> wrote: > >> Hi Morten , >> >>

Re: [Dhis2-devs] OrgUnit Caching with Etag.

2014-10-22 Thread Sandesh Sukumar Doolipeta
Hi Morten , Apologies for the delayed response. From the change you have made , we are getting the E-Tag header. However , since the response headers do not contain the "Cache-control" header , the browser depends on the client to set the "If-none-match" header. In which case , the client ha

Re: [Dhis2-devs] OrgUnit Caching with Etag.

2014-10-19 Thread Sandesh Sukumar Doolipeta
That sounds great. Thanks Morten . On Mon, Oct 20, 2014 at 11:26 AM, Morten Olav Hansen wrote: > Ok, Yes, I will add the shallow E-tag filter today, which mean that the > whole web-api should have a E-tag available. > > -- > Morten > > On Mon, Oct 20, 2014 at 12:47 PM, Sand

Re: [Dhis2-devs] OrgUnit Caching with Etag.

2014-10-19 Thread Sandesh Sukumar Doolipeta
a simpler solution be to just enable springs Shallow ETag filter for > the web-api? I thought it was already in use, but it seems to have been > removed.. we are using it in the ohie-module. > > -- > Morten > > On Fri, Oct 10, 2014 at 5:32 PM, Sandesh Sukumar Doolipeta < &

[Dhis2-devs] OrgUnit Caching with Etag.

2014-10-10 Thread Sandesh Sukumar Doolipeta
Hello, We were using 'organisationUnits' api of DHIS to get all organisation units, which was very time consuming . To solve this problem , the approach that we came up is , to add the 'Etag' header to the response headers returned by the api , so that , the data is downloaded only if the Organ

Re: [Dhis2-devs] Using /api/dashboards to assign user groups to dashboards

2014-08-29 Thread Sandesh Sukumar Doolipeta
gt; }, >> "userGroupAccesses": [ >> { >> "id": "wl5cDMuUhmF", >> "name": "Administrators", >> "access": "r---" >>

Re: [Dhis2-devs] Using /api/dashboards to assign user groups to dashboards

2014-08-29 Thread Sandesh Sukumar Doolipeta
ng API at > /api/sharing that will do what you want > > -- > Morten > > > On Fri, Aug 29, 2014 at 3:10 AM, Sandesh Sukumar Doolipeta < > sande...@thoughtworks.com> wrote: > >> Hi , >> >> We are trying to create dashboards using "/api/da

[Dhis2-devs] Using /api/dashboards to assign user groups to dashboards

2014-08-28 Thread Sandesh Sukumar Doolipeta
Hi , We are trying to create dashboards using "/api/dashboards" api. While creating the dashboards , we also want to assign user groups to the dashboard. The following is the json being posted , == { "displayName": "Chad", "name": "Chad", "dashboardItems": [

Re: [Dhis2-devs] /api/analytics call taking 45 seconds to respond

2014-08-12 Thread Sandesh Sukumar Doolipeta
6c3ae2279b;ada20ae0907;a5e4ff57110;adbe178f6e7;a0b7b1fa8cc;abb22e1762e;a84b8295c97;ac9c458e53b;a52372c8689;a6bb96fa095;ae1a219791b;aaf0fbdbbaa;a571983042a;a470df6805f;a9fb96b85d8;a723416284e;aa5e9b4a578;abe06abfa88;a795cdae88a;a95c5ba0d37;ab754f8a748;ad065d87687;a5d311597a4;a6f86d679af;a0d5

[Dhis2-devs] /api/analytics call taking 45 seconds to respond

2014-08-12 Thread Sandesh Sukumar Doolipeta
Hi , One chart in our custom DHIS app requires us to display the top 5 indicators for a specified data set section. These indicators are calculated as [data element value] / [sum of all data element values in the data set section]. We are using the /api/analytics to fetch all indicator values from

Re: [Dhis2-devs] Category Options not getting translated from dhis.

2014-08-08 Thread Sandesh Sukumar Doolipeta
Hi all , We are still facing this issue , did anyone have a chance to look at it ? On Wed, Jun 18, 2014 at 11:52 AM, Mansi Singhal wrote: > Hello all, > > We were trying to translate "Category Option" from dhis. > > It is failing. > > *Error:* > Sorry! The system failed to execute the o