[Dhis2-devs] FW: Null pointer exception calling .../api/me/programs

2016-10-16 Thread Sam Johnson
Hi all,

I’m trying to produce a generic EventCapture XML config that can be imported 
into any DHIS2 instance, which requires the data elements and program to use 
the default CategoryCombo of the target instance.

My understanding from the documentation (and the email thread below) is that if 
the CategoryCombo for a data element is null, then during metadata import the 
data element will automatically be assigned the local ‘default’ CategoryCombo; 
the problem is that I can’t figure out how to represent this ‘null’ 
CategoryCombo in the XML. I’ve tried:

· simply removing all  tags from the data elements in 
the XML;

· using ;

· using 

· using .

In 2.25, all of these throw the error “DataElementCategoryCombo Missing 
required property `categoryCombo`”…  How can I get these data elements to take 
on the local ‘default’ CategoryCombo as the XML is loaded?

Many thanks for any help anyone is able to give!

Regards, Sam.



From: Dhis2-devs 
 on behalf of 
Rodolfo Melia 
Date: Monday, 9 May 2016 at 09:37
To: Lars Helge Øverland 
Cc: Adebusoye Anifalaje , DHIS2 Developers 
, JM Alcantara 
Subject: Re: [Dhis2-devs] Null pointer exception calling .../api/me/programs

Noted - we look forward to get a resolution to the setting of CatCombo to 
'default' in 2.22 soon - we import hundred of new data elements to our servers 
every week, and many of the templates out there have that column null. This was 
not a problem in 2.20.

R


On 9 May 2016 at 09:24, Lars Helge Øverland 
> wrote:


On Mon, May 9, 2016 at 10:23 AM, Rodolfo Melia 
> wrote:
Hi - I just want to confirm that I'm getting my facts right.

The fix for ensuring that a imported DEs with CatCombo=null are set to default 
is only available in 2.23, latest build.


Any 2.23 build, but yes.

The only workaround available right now for 2.22, that avoids re-starting 
tomcat (which makes the necessary correction at start-up) is to make sure that 
when importing DEs, we set the CatCombo to default in the XML/ CSV.


Correct.


Lars

R

Rodolfo Meliá
Principal  |  rme...@knowming.com
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 
7636
www.knowming.com

On 9 May 2016 at 08:19, Morten Olav Hansen 
> wrote:
And yes, we don't allow null in the categoryCombo field from 2.23 and upwards

--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Mon, May 9, 2016 at 2:15 PM, Morten Olav Hansen 
> wrote:

On Mon, May 9, 2016 at 1:47 PM, Lars Helge Øverland 
> wrote:
Morten do you think you could comment?

Hi, these kinds of issues are fixed in our new importer (available in 2.23), 
for now I would include the default category combo. When you say Import, are 
you creating this payload yourself, or is it coming from another system?

--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : 
dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp




--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Weird, large change in war file size for 2.24 on continuation server - virus payload?

2016-10-16 Thread Calle Hedberg
Dan,

The latest one, from this morning (see http://ci.dhis2.org/job/dhis2-2.24/,
  number #89)

Regards
Calle

On 16 October 2016 at 15:34, Dan Cocos  wrote:

> Hi Calle,
>
> Is there a specific revision that I can look at? We  maintain our own
> build server and I can compare.
>
> Thanks,
> Dan
>
>
> *Dan Cocos*
> Principal, BAO Systems
> dco...@baosystems.com  | http://www.baosystems.com
> |  2900 K Street, Suite 404, Washington D.C. 20007
>
>
>
>
>
>
> On Oct 16, 2016, at 6:39 AM, Calle Hedberg 
> wrote:
>
> Hi,
>
> I've downloaded the latest war files for 2.21 to 2.25 from the
> continuation server, and I noticed some very strange and LARGE changes in
> war file sizes compared to 2-3 days ago:
>
> - 2.21 and 2.22 are more or less as before.
> - 2.23 have increased from 118mb to 119mb (should be OK).
> BUT
> - 2.24 have jumped from 136mb to 164mb (SUSPECT)
> - 2.25 are more or less as before (144mb)
>
> Can somebody explain why 2.24 size has expanded like that, and verify that
> it does not contain additional foreign malicious code?
>
> Regards
> Calle
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Interpretations from the future

2016-10-16 Thread Knut Staring
For the SL demo data, I would guess it is just an update to make things
seem more recent even though most of it was created several years ago.

On Sun, Oct 16, 2016 at 1:04 PM, Calle Hedberg 
wrote:

> Hi
>
> I just noted that when looking at the interpretations on the SL demo, the
> first interpretation popping up ("ANC 1 looks low in Kono! What could be
> the reason?") is dated 3rd November 2016.
>
> Is there a specific trick to do this - or does any posted interpretation
> pick it's date/time from the client computer instead of from the server?
> (i.e. a wrong date/time setting on the user's PC will mess up the date
> posted). If yes, I'm not sure if that's a logical design - such date/time
> stamps should rather use the server setting so that e.g. interpretations
> are shown in the sequence they were posted.
>
> Regards
> Calle
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Interpretations from the future

2016-10-16 Thread Calle Hedberg
Hi

I just noted that when looking at the interpretations on the SL demo, the
first interpretation popping up ("ANC 1 looks low in Kono! What could be
the reason?") is dated 3rd November 2016.

Is there a specific trick to do this - or does any posted interpretation
pick it's date/time from the client computer instead of from the server?
(i.e. a wrong date/time setting on the user's PC will mess up the date
posted). If yes, I'm not sure if that's a logical design - such date/time
stamps should rather use the server setting so that e.g. interpretations
are shown in the sequence they were posted.

Regards
Calle

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Weird, large change in war file size for 2.24 on continuation server - virus payload?

2016-10-16 Thread Calle Hedberg
Hi,

I've downloaded the latest war files for 2.21 to 2.25 from the continuation
server, and I noticed some very strange and LARGE changes in war file sizes
compared to 2-3 days ago:

- 2.21 and 2.22 are more or less as before.
- 2.23 have increased from 118mb to 119mb (should be OK).
BUT
- 2.24 have jumped from 136mb to 164mb (SUSPECT)
- 2.25 are more or less as before (144mb)

Can somebody explain why 2.24 size has expanded like that, and verify that
it does not contain additional foreign malicious code?

Regards
Calle

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] dhis version 2.25 is released

2016-10-16 Thread Asif
Congrats Lars and the Dev team. This release comes out with some really
good stuff. Look forward to upgrading to this version soon.

Cheers,

Asif
Business Systems Manager @ IRC

On Oct 13, 2016 6:51 AM, "Lars Helge Øverland"  wrote:

>
> Hi all,
>
> DHIS version 2.25 is out with a lot of new features, apps and
> improvements.
>
> Log in with admin/district on the demo 
> system.
>
>
> ANALYTICS FEATURES
>
> ---
>
> External map layers: The GIS app now supports TMS (Tile Map Service), XYZ
> and WMS (Web Map Service) layers. These are all popular protocols for map
> data and there are numerous map services available, allowing you to display
> maps for rivers, roads, weather, land data and everything else. External
> map layers can be set up from the Maintenance app, and then be accessed
> from the top bar in the GIS app.
>
> Docs GIS
> 
> | Docs setup
> 
> | Screenshot 1
> 
> | Sc 2
> 
> | Sc 3
> 
> | Sc Setup
> 
> | Demo 1
> 
> | Demo 2
> 
>
>
> Push analysis: You can now push data analysis in the form of reports,
> charts and maps to your users over email. This allows for improving
> awareness and visibility of your data, and can encourage people to more
> actively look at analysis. Push analysis is based on dashboards, and can be
> set up, run and scheduled from the Maintenance app. You can also run
> immediately and preview from the the context menu.
>
> Docs
> 
> | Screenshot 1
> 
> | Sc 2
> 
> | Demo
> 
>
>
> Indicator as filter: A single indicator or data set reporting rate can
> now be used as filter in charts and pivots. This allow you to create charts
> for example with multiple periods and organisation units.
>
> Docs
> 
> | Screenshot
> 
> | Demo
> 
>
>
> Dashboard translations: The names of dashboards can now be translated,
> meaning you can have dashboard names appear in user’s local language.
>
> Docs 
> | Screenshot
> 
>
>
> Deep linking of favorites: When opening favorites in the Pivot Table and
> Visualizer apps, the browser address bar URL will reflect the current
> favorite. This allows for easy sharing of favorites through
> copy-and-pasting the URL.
>
> Screenshot
> 
> | Demo 
>
>
> Chart rendering: The chart rendering engine has been rewritten from
> scratch and now looks better, renders faster and will allow for new chart
> types in the coming releases. The Data Visualizer app’s favorite solution
> has also been upgraded.
>
> Screenshot
> 
> | Demo
> 
>
> Favorite description: You can now specify description for pivot table and
> chart favorites. This allows you to add more information such as the
> purpose and method to interpret the analysis favorite. You can also store
> titles for pivot tables. Click rename to change it.
>
> Screenshot
> 
> | Demo
> 
>
>
> Interpretations in analytics apps: The Pivot Table and Visualizer apps
> now have a