[Dhis2-devs] Aggreration query for single event without registration

2015-01-21 Thread Robin Martens
Hi all, Is it possible in the Aggregation Query Builder to use the "Number of tracked entities" operator to calculate a number of events, especially when it concerns Single events without registration? I tried it and although it finds the events based on the conditions, it always returns 0 as

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18077: test for idObjects and setAutoField in hibgenstor

2015-01-21 Thread noreply
revno: 18077 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-01-21 16:08:21 +0700 message: test for idObjects and setAutoField in hibgenstor modified: dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18078: minor

2015-01-21 Thread noreply
revno: 18078 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-01-21 16:11:18 +0700 message: minor modified: dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.j

Re: [Dhis2-devs] cumulative data in Data Visualizer and Pilot Table

2015-01-21 Thread John Lewis
Hi Lars, Done. https://blueprints.launchpad.net/dhis2/+spec/visualisation-cumulative-chart Regards, John On Mon, Jan 19, 2015 at 5:11 PM, Lars Helge Øverland wrote: > Hi John, > > yes that would be possible to implement. Feel free to write a blueprint > with a bit more detail and we can schedule

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18079: Dashboard, returning Location header when adding item content

2015-01-21 Thread noreply
revno: 18079 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-01-21 10:30:45 +0100 message: Dashboard, returning Location header when adding item content modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/dash

Re: [Dhis2-devs] cumulative data in Data Visualizer and Pilot Table

2015-01-21 Thread John Lewis
Hi Lars, Example in Excel. We had this chart in Dhis1 series. John On Wed, Jan 21, 2015 at 4:18 PM, John Lewis wrote: > Hi Lars, > Done. > https://blueprints.launchpad.net/dhis2/+spec/visualisation-cumulative-chart > Regards, > John > > On Mon, Jan 19, 2015 at 5:11 PM, Lars Helge Øverland > wro

Re: [Dhis2-devs] 'created' and 'lastUpdated' fields not getting updated for sections

2015-01-21 Thread Morten Olav Hansen
Hi Mahendra I made a fix for this 10 minutes again in trunk, uid/created/lastUpdated will be properly set for all id-objects. -- Morten On Wed, Jan 21, 2015 at 4:29 PM, Mahendra Kariya < mahendra.kar...@thoughtworks.com> wrote: > Hi, > > We expect DHIS to auto populate the 'created' and 'lastUp

Re: [Dhis2-devs] 'created' and 'lastUpdated' fields not getting updated for sections

2015-01-21 Thread Morten Olav Hansen
18076 is too old ;) it is fixed in 18077 -- Morten On Wed, Jan 21, 2015 at 4:34 PM, Mahendra Kariya < mahendra.kar...@thoughtworks.com> wrote: > We are on rev 18076. > > On Wed, Jan 21, 2015 at 2:59 PM, Mahendra Kariya < > mahendra.kar...@thoughtworks.com> wrote: > >> Hi, >> >> We expect DHIS to

Re: [Dhis2-devs] cumulative data in Data Visualizer and Pilot Table

2015-01-21 Thread Jason Pickering
One potentially tricky thing to keep in mind here is the problem of missing data, i.e. if the facility does not report for a month, or they report a zero and the data element is zero insignificant. Normally in time-series data, the "last observation would be carried forward" (LOCF). The spec does n

[Dhis2-devs] Introducing lastUpdated in systemSetting

2015-01-21 Thread Mansi Singhal
Hey Lars, We are beginning to work on a patch to introduce lastUpdated field in systemSetting. We would like this patch to be applied on trunk. Do you see any issues with the same? -- Thanks, Mansi Singhal ___ Mailing list: https://launchpad.net/~dhis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18080: Dashboard. Moved item rendering code to own function.

2015-01-21 Thread noreply
revno: 18080 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-01-21 11:01:14 +0100 message: Dashboard. Moved item rendering code to own function. modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18081: Dashboard. Adding items without reloading dashboard.

2015-01-21 Thread noreply
revno: 18081 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-01-21 11:27:31 +0100 message: Dashboard. Adding items without reloading dashboard. modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18082: Dashboard. Removing items without reloading dashboard.

2015-01-21 Thread noreply
revno: 18082 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-01-21 11:35:06 +0100 message: Dashboard. Removing items without reloading dashboard. modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/mai

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18083: validation service in /api/maintenance, wip

2015-01-21 Thread noreply
revno: 18083 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-01-21 17:59:38 +0700 message: validation service in /api/maintenance, wip modified: dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/co

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18084: Dashboard, minor

2015-01-21 Thread noreply
revno: 18084 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-01-21 13:17:13 +0100 message: Dashboard, minor modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integratio

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18085: Dashboard, drag and drop for new items

2015-01-21 Thread noreply
revno: 18085 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-01-21 13:52:09 +0100 message: Dashboard, drag and drop for new items modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-we

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18086: ER EV GIS option set issue fixed + DV EV tooltip style fix.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18086 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 15:55:44 +0100 message: ER EV GIS option set issue fixed + DV EV tooltip style f

[Dhis2-devs] Problems with detailed metadata export..

2015-01-21 Thread Jason Pickering
In one DHIS2 instance, we have a rather large number of data elements, more than 18,000. During the detailed metadata export, a request is made to "api/dataElements.json?paging=false&links=false". This throws the CPU of the server through the roof, with the operation taking many minutes (has been r

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18087: Dashboard, gis event layer fix.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18087 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 16:22:03 +0100 message: Dashboard, gis event layer fix. modified: dhis-2/dhis

Re: [Dhis2-devs] Introducing lastUpdated in systemSetting

2015-01-21 Thread Lars Helge Øverland
Hi Mansi, that sounds fine, go ahead. Can you also add "created" in the process? And could you do this to UserSetting as well to keep it consistent? Ideally I think we should make SystemSetting an IdentifiableObject, and use the standard stores, controllers, etc. That is a bit more work. Introduc

Re: [Dhis2-devs] Problems with detailed metadata export..

2015-01-21 Thread Bob Jolliffe
Can you try and get a jstack dump while it is busy chomping cpu. That will probably indicate where in the code it is spinning. There was a problem earlier with a weakness in the paging code but should have been fixed by that build. On 21 January 2015 at 15:00, Jason Pickering wrote: > > In one

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18088: Dashboard, misc element validation.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18088 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 19:01:45 +0100 message: Dashboard, misc element validation. modified: dhis-2/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18089: Dashboard, element validation.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18089 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 19:04:17 +0100 message: Dashboard, element validation. modified: dhis-2/dhis-

Re: [Dhis2-devs] Problems with detailed metadata export..

2015-01-21 Thread Morten Olav Hansen
18k is not really that much.. is it giving you any kind of errors? given the SL demo db... we can easily export much more objects that that.. -- Morten On Thu, Jan 22, 2015 at 12:42 AM, Bob Jolliffe wrote: > Can you try and get a jstack dump while it is busy chomping cpu. That > will probably

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18090: Dashboard, misc validation.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18090 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 19:34:45 +0100 message: Dashboard, misc validation. modified: dhis-2/dhis-web

Re: [Dhis2-devs] Problems with detailed metadata export..

2015-01-21 Thread Bob Jolliffe
If it is running for 15 minutes then almost certainly it is stuck in some kind of loop. Find the pid of the running jvm and also the owner of the java process. Then run: sudo -u jstack > jstack.txt That might give an idea of what the threads are up to ... On 21 January 2015 at 18:26, Morten

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18091: Dashboard, support for cirlular areas in facility layer.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18091 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 19:54:16 +0100 message: Dashboard, support for cirlular areas in facility layer.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18092: Dashboard, misdeclared function causing IDB error fixed + code style.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18092 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 20:16:24 +0100 message: Dashboard, misdeclared function causing IDB error fixed

Re: [Dhis2-devs] Problems with detailed metadata export..

2015-01-21 Thread Jason Pickering
Not really sure what is going on, but here is the stack dump. Maybe it will help. And some more info below. top - 21:26:40 up 477 days, 16:20, 2 users, load average: 2.99, 2.05, 1.03 Tasks: 171 total, 1 running, 170 sleeping, 0 stopped, 0 zombie Cpu(s): 38.3%us, 0.0%sy, 0.0%ni, 61.6%id

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18093: Dashboard, event chart title bug fixed.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18093 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 20:46:28 +0100 message: Dashboard, event chart title bug fixed. modified: dhi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18094: Minor

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18094 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-01-21 20:54:23 +0100 message: Minor modified: dhis-2/dhis-web/dhis-web-dashboard-in

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18095: event-capture - minor fix in event grid sorting

2015-01-21 Thread noreply
revno: 18095 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2015-01-21 21:11:11 +0100 message: event-capture - minor fix in event grid sorting modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18096: event-capture - prevent form submission on click of enter

2015-01-21 Thread noreply
revno: 18096 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2015-01-21 21:24:38 +0100 message: event-capture - prevent form submission on click of enter modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18097: Script

2015-01-21 Thread noreply
revno: 18097 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-01-21 21:27:48 +0100 message: Script modified: resources/sql/div.sql -- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team

Re: [Dhis2-devs] Problems with detailed metadata export..

2015-01-21 Thread Bob Jolliffe
Jason the cpu is not really "through the roof" here. Can you try another dump (while the cpu is through the roof)? The interesting threads to look at are the http-bio-8080 threads, which are the tomcat worker threads. If the server is not being accessed by dozens of users most of them should be

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18098: PT DV data elements filtered by domain type.

2015-01-21 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18098 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Thu 2015-01-22 01:03:08 +0100 message: PT DV data elements filtered by domain type. modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18099: Small fix in Min-Max Value Generation UI.

2015-01-21 Thread noreply
revno: 18099 committer: Tran Chau branch nick: dhis2 timestamp: Thu 2015-01-22 07:59:09 +0700 message: Small fix in Min-Max Value Generation UI. modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/w

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18100: tagged 2.18

2015-01-21 Thread noreply
revno: 18100 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2015-01-22 09:01:10 +0700 message: tagged 2.18 modified: dhis-2/dhis-api/pom.xml dhis-2/dhis-services/dhis-service-administration/pom.xml dhis-2/dhis-se

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18101: tagged 2.19-SNAPSHOT

2015-01-21 Thread noreply
revno: 18101 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2015-01-22 09:17:08 +0700 message: tagged 2.19-SNAPSHOT modified: dhis-2/dhis-api/pom.xml dhis-2/dhis-services/dhis-service-administration/pom.xml dhis-

Re: [Dhis2-devs] Aggreration query for single event without registration

2015-01-21 Thread Calle Hedberg
Robin, Unlikely that the "number of tracked entities" operator will work for programs defined as single events without registration, because that type of program does not have ANY entities. A relatively simple work-around is to define one extra data element in your event - maybe called just "Even

Re: [Dhis2-devs] cumulative data in Data Visualizer and Pilot Table

2015-01-21 Thread Calle Hedberg
Hi, I'm not sure if auto-replicating the previous month's value for a missing month is such a good idea. It's conceptually very similar to the ability in DHIS 1.x to use regression analysis to insert missing values, BUT we always blocked that for recent months - the idea was always that using regr

[Dhis2-devs] Problem with reports

2015-01-21 Thread Ayub Manya
We are having problems generating reports in the Kenyan DHIS. we are on version 2.16 build date 2014-11-29 16:20. Data is visible in data entry mode but cannot appear in data set reports, pivot tables and visualizer. This has been noticed in the last two days. Please assist because districts urgen