Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9656: Startup routine - update the denominator of indicator if having any denominator is null follow up...

2013-02-01 Thread Jason Pickering
This had nothing to do with direct SQL injection as far as I know. No idea how these indicators for NULL denominators, but they seemed happy in 2.10. Seems to work for me now, just do not really understand why these objects have a denominator at all, more from a fundamental perspective. On Fri, F

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9687: DHIS 1.4 file import. Importing saved calculated data elements. We cannot import the formula but ...

2013-02-01 Thread noreply
revno: 9687 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-02-01 18:28:45 +0200 message: DHIS 1.4 file import. Importing saved calculated data elements. We cannot import the formula but getting the data is usefu

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9686: Analytics, fixed bug with period as filter. Centralized validation of queries.

2013-02-01 Thread noreply
revno: 9686 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-02-01 16:57:34 +0200 message: Analytics, fixed bug with period as filter. Centralized validation of queries. modified: dhis-2/dhis-services/dhis-servi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9685: (PT) Context path. Work in progress.

2013-02-01 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 9685 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2013-02-01 15:00:19 +0100 message: (PT) Context path. Work in progress. modified: dhis-2/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9684: Translation

2013-02-01 Thread noreply
revno: 9684 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-02-01 14:02:22 +0200 message: Translation modified: dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global.properties -- lp:dhis2 https://co

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9683: Added web pivot to portal

2013-02-01 Thread noreply
revno: 9683 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-02-01 13:45:27 +0200 message: Added web pivot to portal modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/comparator/PeriodComparator.java

Re: [Dhis2-devs] DHIS-Live not working with Linux

2013-02-01 Thread Bob Jolliffe
On 1 February 2013 11:31, Saptarshi Purkayastha wrote: > oops, my bad. > This is a bash script with function calls. You'll need to work with it. Exactly. Or just delete # get ready to catch errors and echo "Starting DHIS2 live ..." Trapping ctrl-c is only really interesting from command line an

Re: [Dhis2-devs] DHIS-Live not working with Linux

2013-02-01 Thread Saptarshi Purkayastha
oops, my bad. This is a bash script with function calls. You'll need to work with it. You'll need to verify that the first line is indeed *#!/bin/bash* and the file has executable permissions --- Regards, Saptarshi PURKAYASTHA My Tech Blog: http://sunnytalkstech.blogspot.com You Live by CHOICE,

Re: [Dhis2-devs] DHIS-Live not working with Linux

2013-02-01 Thread Saptarshi Purkayastha
I would suggest to make the first line to call sh: #!/bin/sh This I believe is more portable compared to expecting bash. Not that bash isn't available, but still chances are that might be unavailable in other systems --- Regards, Saptarshi PURKAYASTHA My Tech Blog: http://sunnytalkstech.blogsp

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

2013-02-01 Thread noreply
revno: 9682 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-02-01 13:13:47 +0200 message: Minor modified: dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.java

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9681: (PT) Basic pivot table functionality. Work in progress.

2013-02-01 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 9681 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2013-02-01 11:31:16 +0100 message: (PT) Basic pivot table functionality. Work in progress. r

Re: [Dhis2-devs] DHIS-Live not working with Linux

2013-02-01 Thread Bob Jolliffe
Hi Neeraj This strange error seems to indicate you don't have a bash shell which is odd, or if you do its not being used. I see the error when I type 'sh startup.sh'. But when I explicitly type 'bash startup.sh' all is fine. Or even just './startup.sh' Can you confirm how you are starting this

Re: [Dhis2-devs] DHIS-Live not working with Linux

2013-02-01 Thread Neeraj Gupta
Lars, Below is the content of startup.sh *#!/bin/bash # get ready to catch errors trap ctrl-c INT trap unexpected-exit ERR function ctrl-c () { echo echo "" echo "Keyboard interrupt" echo "DHIS2 live exited" echo "=

Re: [Dhis2-devs] DHIS-Live not working with Linux

2013-02-01 Thread Lars Helge Øverland
Hi Neeraj, can you post the contents of the startup.sh script? Lars On Fri, Feb 1, 2013 at 11:26 AM, Neeraj Gupta wrote: > Hi Devs, > > I was trying to work with DHIS Live on Ubuntu Server 11.10 , but I am > unable to run it, when i am running startup.sh it is saying > *trap: ERR: bad trap >

[Dhis2-devs] DHIS-Live not working with Linux

2013-02-01 Thread Neeraj Gupta
Hi Devs, I was trying to work with DHIS Live on Ubuntu Server 11.10 , but I am unable to run it, when i am running startup.sh it is saying *trap: ERR: bad trap /home/dhis-live/startup.sh: 7: Syntax error: "(" unexpected* Downloaded it from http://www.dhis2.org/downloads Tried it on windows and i

[Dhis2-devs] [Bug 1112189] Re: category-combos-not-properly-escaped

2013-02-01 Thread Hieu Duy Dang
** Changed in: dhis2 Assignee: (unassigned) => Hieu Duy Dang (hieu-hispvietnam) ** Changed in: dhis2 Status: New => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1112189

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9680: Fixed bug<1112189> category-combos-not-properly-escaped

2013-02-01 Thread noreply
revno: 9680 committer: Hieu branch nick: dhis2 timestamp: Fri 2013-02-01 15:56:20 +0700 message: Fixed bug<1112189> category-combos-not-properly-escaped modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-c

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 9656: Startup routine - update the denominator of indicator if having any denominator is null follow up...

2013-02-01 Thread Lars Helge Øverland
Hi Jason, not exactly sure but I think this is to fix potential errors in the database from direct sql injection. The denominators are always used in aggregation but in this case we set the denominator to 1 which will not affect the outcome - so I think this will work.. Lars On Wed, Jan 30, 2