Re: [Dhis2-devs] [Dhis2-users] Synchronizing two DHIS2 instances

2017-03-01 Thread Knut Staring
Hi Mohamed,

If you are only collecting aggregate data, the data entry will still work
offline with data stored in the browser and synched when you get online. So
then you dont have to have local installations.

Having lots of local installations can easily become very complicated and
costly. The other alternative is to use Android apps for offline.

Knut

On Wed, Mar 1, 2017 at 10:43 AM, Mohamed Bangura  wrote:

> Dear all,
>
> I am trying to pilot DHIS2 in another organization that is not Health
> related.From what i have done,it's possible.
>
> I have set up the server,designed the forms and customized the
> application to suit the needs of the organization.
>
> I am thinking about installing DHIS2 on local servers  and sync them
> with the main DHIS2 server which will be online.Users will input the
> data offline to their local servers since internet is a major
> challenge.The data will automatically go to the main server when the
> local server is connected to the internet.
>
> Want to know if this could be achieved with the DHIS2 and please
> assist me on how to do it if it's possible.
>
> Thank you for your cooperation.
>
> Mohamed.
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> 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] Synchronizing two DHIS2 instances

2017-03-01 Thread Mohamed Bangura
Dear all,

I am trying to pilot DHIS2 in another organization that is not Health
related.From what i have done,it's possible.

I have set up the server,designed the forms and customized the
application to suit the needs of the organization.

I am thinking about installing DHIS2 on local servers  and sync them
with the main DHIS2 server which will be online.Users will input the
data offline to their local servers since internet is a major
challenge.The data will automatically go to the main server when the
local server is connected to the internet.

Want to know if this could be achieved with the DHIS2 and please
assist me on how to do it if it's possible.

Thank you for your cooperation.

Mohamed.

___
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] Synchronizing two DHIS2 instances

2017-03-01 Thread Knut Staring
I understand, and what you propose can be done - it is the way things used
to be done 10 years ago.

I just wanted to point out that there are many problems with such a setup,
for example every time you make a change to the form, you will have to make
sure all the installations get updated. If you want to upgrade to a new
version, you will have to do that for each installation.

This is why we have implemented two other solutions for offline data
collection, namely local storage in the browser or on Android devices.

On Wed, Mar 1, 2017 at 12:29 PM, Mohamed Bangura  wrote:

> Thanks for your swift response Knut but the  problem here is that the
> data collectors will be collecting the data in the sea where they can
> only get internet access once in a month and the data needs to be
> collected on a daily basis.
>
> Thats the reason why i thought about an option where they will be
> saving the data to a local server and then probably upload
> automatically when they are in town.
>
> On 3/1/17, Knut Staring  wrote:
> > Hi Mohamed,
> >
> > If you are only collecting aggregate data, the data entry will still work
> > offline with data stored in the browser and synched when you get online.
> So
> > then you dont have to have local installations.
> >
> > Having lots of local installations can easily become very complicated and
> > costly. The other alternative is to use Android apps for offline.
> >
> > Knut
> >
> > On Wed, Mar 1, 2017 at 10:43 AM, Mohamed Bangura 
> > wrote:
> >
> >> Dear all,
> >>
> >> I am trying to pilot DHIS2 in another organization that is not Health
> >> related.From what i have done,it's possible.
> >>
> >> I have set up the server,designed the forms and customized the
> >> application to suit the needs of the organization.
> >>
> >> I am thinking about installing DHIS2 on local servers  and sync them
> >> with the main DHIS2 server which will be online.Users will input the
> >> data offline to their local servers since internet is a major
> >> challenge.The data will automatically go to the main server when the
> >> local server is connected to the internet.
> >>
> >> Want to know if this could be achieved with the DHIS2 and please
> >> assist me on how to do it if it's possible.
> >>
> >> Thank you for your cooperation.
> >>
> >> Mohamed.
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~dhis2-users
> >> Post to : dhis2-us...@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >
> >
> >
> > --
> > Knut Staring
> > Dept. of Informatics, University of Oslo
> > Norway: +4791880522
> > Skype: knutstar
> > http://dhis2.org
> >
>



-- 
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] User role to grant access to custom app

2017-03-01 Thread Greg Rowles
Hi Devs

Is there a user-role (missing perhaps) for users with limited access to see
new apps in the application-drawer?

I'm having no luck...

Greg

-- 
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile  :073 246 2992
Landline:   021 851 2216
Skype:  gregory_rowles
___
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] Synchronizing two DHIS2 instances

2017-03-01 Thread Mohamed Bangura
Will try to pilot one of the options given and will get back to you
for further assistance.

Thanks a lot.
On 3/1/17, Knut Staring  wrote:
> I understand, and what you propose can be done - it is the way things used
> to be done 10 years ago.
>
> I just wanted to point out that there are many problems with such a setup,
> for example every time you make a change to the form, you will have to make
> sure all the installations get updated. If you want to upgrade to a new
> version, you will have to do that for each installation.
>
> This is why we have implemented two other solutions for offline data
> collection, namely local storage in the browser or on Android devices.
>
> On Wed, Mar 1, 2017 at 12:29 PM, Mohamed Bangura 
> wrote:
>
>> Thanks for your swift response Knut but the  problem here is that the
>> data collectors will be collecting the data in the sea where they can
>> only get internet access once in a month and the data needs to be
>> collected on a daily basis.
>>
>> Thats the reason why i thought about an option where they will be
>> saving the data to a local server and then probably upload
>> automatically when they are in town.
>>
>> On 3/1/17, Knut Staring  wrote:
>> > Hi Mohamed,
>> >
>> > If you are only collecting aggregate data, the data entry will still
>> > work
>> > offline with data stored in the browser and synched when you get
>> > online.
>> So
>> > then you dont have to have local installations.
>> >
>> > Having lots of local installations can easily become very complicated
>> > and
>> > costly. The other alternative is to use Android apps for offline.
>> >
>> > Knut
>> >
>> > On Wed, Mar 1, 2017 at 10:43 AM, Mohamed Bangura 
>> > wrote:
>> >
>> >> Dear all,
>> >>
>> >> I am trying to pilot DHIS2 in another organization that is not Health
>> >> related.From what i have done,it's possible.
>> >>
>> >> I have set up the server,designed the forms and customized the
>> >> application to suit the needs of the organization.
>> >>
>> >> I am thinking about installing DHIS2 on local servers  and sync them
>> >> with the main DHIS2 server which will be online.Users will input the
>> >> data offline to their local servers since internet is a major
>> >> challenge.The data will automatically go to the main server when the
>> >> local server is connected to the internet.
>> >>
>> >> Want to know if this could be achieved with the DHIS2 and please
>> >> assist me on how to do it if it's possible.
>> >>
>> >> Thank you for your cooperation.
>> >>
>> >> Mohamed.
>> >>
>> >> ___
>> >> Mailing list: https://launchpad.net/~dhis2-users
>> >> Post to : dhis2-us...@lists.launchpad.net
>> >> Unsubscribe : https://launchpad.net/~dhis2-users
>> >> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >
>> >
>> >
>> > --
>> > Knut Staring
>> > Dept. of Informatics, University of Oslo
>> > Norway: +4791880522
>> > Skype: knutstar
>> > http://dhis2.org
>> >
>>
>
>
>
> --
> 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


Re: [Dhis2-devs] [Dhis2-users] Synchronizing two DHIS2 instances

2017-03-01 Thread Knut Staring
Sounds like a good approach - let us know how it turns out.

Knut

On Wed, Mar 1, 2017 at 12:45 PM, Mohamed Bangura  wrote:

> Will try to pilot one of the options given and will get back to you
> for further assistance.
>
> Thanks a lot.
> On 3/1/17, Knut Staring  wrote:
> > I understand, and what you propose can be done - it is the way things
> used
> > to be done 10 years ago.
> >
> > I just wanted to point out that there are many problems with such a
> setup,
> > for example every time you make a change to the form, you will have to
> make
> > sure all the installations get updated. If you want to upgrade to a new
> > version, you will have to do that for each installation.
> >
> > This is why we have implemented two other solutions for offline data
> > collection, namely local storage in the browser or on Android devices.
> >
> > On Wed, Mar 1, 2017 at 12:29 PM, Mohamed Bangura 
> > wrote:
> >
> >> Thanks for your swift response Knut but the  problem here is that the
> >> data collectors will be collecting the data in the sea where they can
> >> only get internet access once in a month and the data needs to be
> >> collected on a daily basis.
> >>
> >> Thats the reason why i thought about an option where they will be
> >> saving the data to a local server and then probably upload
> >> automatically when they are in town.
> >>
> >> On 3/1/17, Knut Staring  wrote:
> >> > Hi Mohamed,
> >> >
> >> > If you are only collecting aggregate data, the data entry will still
> >> > work
> >> > offline with data stored in the browser and synched when you get
> >> > online.
> >> So
> >> > then you dont have to have local installations.
> >> >
> >> > Having lots of local installations can easily become very complicated
> >> > and
> >> > costly. The other alternative is to use Android apps for offline.
> >> >
> >> > Knut
> >> >
> >> > On Wed, Mar 1, 2017 at 10:43 AM, Mohamed Bangura 
> >> > wrote:
> >> >
> >> >> Dear all,
> >> >>
> >> >> I am trying to pilot DHIS2 in another organization that is not Health
> >> >> related.From what i have done,it's possible.
> >> >>
> >> >> I have set up the server,designed the forms and customized the
> >> >> application to suit the needs of the organization.
> >> >>
> >> >> I am thinking about installing DHIS2 on local servers  and sync them
> >> >> with the main DHIS2 server which will be online.Users will input the
> >> >> data offline to their local servers since internet is a major
> >> >> challenge.The data will automatically go to the main server when the
> >> >> local server is connected to the internet.
> >> >>
> >> >> Want to know if this could be achieved with the DHIS2 and please
> >> >> assist me on how to do it if it's possible.
> >> >>
> >> >> Thank you for your cooperation.
> >> >>
> >> >> Mohamed.
> >> >>
> >> >> ___
> >> >> Mailing list: https://launchpad.net/~dhis2-users
> >> >> Post to : dhis2-us...@lists.launchpad.net
> >> >> Unsubscribe : https://launchpad.net/~dhis2-users
> >> >> More help   : https://help.launchpad.net/ListHelp
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Knut Staring
> >> > Dept. of Informatics, University of Oslo
> >> > Norway: +4791880522
> >> > Skype: knutstar
> >> > http://dhis2.org
> >> >
> >>
> >
> >
> >
> > --
> > Knut Staring
> > Dept. of Informatics, University of Oslo
> > Norway: +4791880522
> > Skype: knutstar
> > http://dhis2.org
> >
>



-- 
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


Re: [Dhis2-devs] [Dhis2-users] Synchronizing two DHIS2 instances

2017-03-01 Thread Mohamed Bangura
Thanks for your swift response Knut but the  problem here is that the
data collectors will be collecting the data in the sea where they can
only get internet access once in a month and the data needs to be
collected on a daily basis.

Thats the reason why i thought about an option where they will be
saving the data to a local server and then probably upload
automatically when they are in town.

On 3/1/17, Knut Staring  wrote:
> Hi Mohamed,
>
> If you are only collecting aggregate data, the data entry will still work
> offline with data stored in the browser and synched when you get online. So
> then you dont have to have local installations.
>
> Having lots of local installations can easily become very complicated and
> costly. The other alternative is to use Android apps for offline.
>
> Knut
>
> On Wed, Mar 1, 2017 at 10:43 AM, Mohamed Bangura 
> wrote:
>
>> Dear all,
>>
>> I am trying to pilot DHIS2 in another organization that is not Health
>> related.From what i have done,it's possible.
>>
>> I have set up the server,designed the forms and customized the
>> application to suit the needs of the organization.
>>
>> I am thinking about installing DHIS2 on local servers  and sync them
>> with the main DHIS2 server which will be online.Users will input the
>> data offline to their local servers since internet is a major
>> challenge.The data will automatically go to the main server when the
>> local server is connected to the internet.
>>
>> Want to know if this could be achieved with the DHIS2 and please
>> assist me on how to do it if it's possible.
>>
>> Thank you for your cooperation.
>>
>> Mohamed.
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> 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


Re: [Dhis2-devs] Program indicator "hasValue"

2017-03-01 Thread Markus Bekken
Hi Olav,
the following syntax is now supported:  
> - #{wmSb9TmevMn.jeK5z6acB3N}  == ‘’

Jira issue: https://jira.dhis2.org/browse/DHIS2-1185 


Best regards,
Markus

> 1. feb. 2017 kl. 13.40 skrev Olav Poppe :
> 
> Hi devs, I’m trying (in 2.25) to make a program indicator counting events 
> where a specific data element has not been filled.
> 
> Tested so far: 
> - d2:hasValue(‘wmSb9TmevMn.jeK5z6acB3N’)  => not supported in 
> program indicators, only program rules
> - #{wmSb9TmevMn.jeK5z6acB3N}  == ‘’   => no data 
> - #{wmSb9TmevMn.jeK5z6acB3N}  != ‘’   => counts the events 
> WITH data, but I’m unable to «invert» this:
>   -- !(#{wmSb9TmevMn.jeK5z6acB3N}  != ‘’) => no data, 
> catalina.out shows: ERROR: operator does not exist: ! boolean
>   -- (#{wmSb9TmevMn.jeK5z6acB3N}  != '') != true  => no data
> - #{wmSb9TmevMn.jeK5z6acB3N}  is null => works, but 
> is not a supported format from what I understand.
> 
> In general, what is displayed in «Filter description» and what actually works 
> is not consistent - some things are invalid, but work, others are valid but 
> don’t work…
> 
> Any advice?
> 
> Regards
> Olav
> ___
> 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


[Dhis2-devs] No editable section on dataset in DHIS2 since 2.25

2017-03-01 Thread Carlos Nyembwe
Hello,

I was setting up my database in DHIS2 2.26, but when I created a section,
later ago, I'm looking for to modifie this section by adding dataelement
but, no possibility to do that,

Who can know what happen with this?

Regards

Carlos

-- 
*Carlos Nyembwe*
*I'm just a Computer Scientist*

*Skype: carloscnk1*
*Cell: (+243)813166381*
*Find me in: | Google Plus  |
**Linkedin
 | Facebook
 | Twitter
 |*
___
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] GIS Module does't load Google Maps correctly

2017-03-01 Thread Mamadou Diao Diallo
Hello every body,

Please can some one help me, i can no longer open my GIS module the page
does't load the Google maps correctly.

I wonder if it is due to my network because i just move the server to
another hosting provider.

Find attached some screenshots.

DHIS2 Version : *2.22*
OS : *Ubuntu 14*

Thank you in advanced.

Diao

-- 
*DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
Health Information Software )*


*Projet de Renforcement du Système d'Information Sanitaire en Guinée*
*Phone : 623909413 | 662256106*
*Skype : diawwdiallo*
www.jsi.com
___
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] GIS Module does't load Google Maps correctly

2017-03-01 Thread Knut Staring
Hi Diao,

If you have moved hosting providers, you have probably also moved to an
updated version of Tomcat. Unfortunately, 2.22 does not work well with the
newer versions of Tomcat. Any chance you can update to 2.24 or 2.25?

Knut

On Wed, Mar 1, 2017 at 5:48 PM, Mamadou Diao Diallo 
wrote:

> Hello every body,
>
> Please can some one help me, i can no longer open my GIS module the page
> does't load the Google maps correctly.
>
> I wonder if it is due to my network because i just move the server to
> another hosting provider.
>
> Find attached some screenshots.
>
> DHIS2 Version : *2.22*
> OS : *Ubuntu 14*
>
> Thank you in advanced.
>
> Diao
>
> --
> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
> Health Information Software )*
>
>
> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
> *Phone : 623909413 | 662256106*
> *Skype : diawwdiallo*
> www.jsi.com
>
> ___
> 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


Re: [Dhis2-devs] GIS Module does't load Google Maps correctly

2017-03-01 Thread Mamadou Diao Diallo
Thank you for your answer,
However i just moved my server physically so i have always the same version
of tomcat7.

Thanks.

Diao

On Wed, Mar 1, 2017 at 4:53 PM, Knut Staring  wrote:

> Hi Diao,
>
> If you have moved hosting providers, you have probably also moved to an
> updated version of Tomcat. Unfortunately, 2.22 does not work well with the
> newer versions of Tomcat. Any chance you can update to 2.24 or 2.25?
>
> Knut
>
> On Wed, Mar 1, 2017 at 5:48 PM, Mamadou Diao Diallo <
> diao_dia...@gn.jsi.com> wrote:
>
>> Hello every body,
>>
>> Please can some one help me, i can no longer open my GIS module the page
>> does't load the Google maps correctly.
>>
>> I wonder if it is due to my network because i just move the server to
>> another hosting provider.
>>
>> Find attached some screenshots.
>>
>> DHIS2 Version : *2.22*
>> OS : *Ubuntu 14*
>>
>> Thank you in advanced.
>>
>> Diao
>>
>> --
>> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
>> Health Information Software )*
>>
>>
>> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
>> *Phone : 623909413 | 662256106*
>> *Skype : diawwdiallo*
>> www.jsi.com
>>
>> ___
>> 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
>



-- 
*DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
Health Information Software )*


*Projet de Renforcement du Système d'Information Sanitaire en Guinée*
*Phone : 623909413 | 662256106*
*Skype : diawwdiallo*
www.jsi.com
___
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] 500 error on PATCHing categoryOption on 2.23

2017-03-01 Thread Trøyel Nerbø
Hi all,
I'm trying to batch update my code field on categoryOptions through patching 
the individual UiD's on 
/api/categoryOptions/xxhDxyT8kCD.json?preheatCache=false .

My raw json payload only includes the UiD, name and (new) code field. The 
server log gives a preheat and reports success on update. Comparing the before 
and after json the only change happened to the categoryOption is the intended 
one. The only issue I can see on the log side is that the preheatCache is not 
disabled as intended.

The server log gives the following:
* INFO  2017-03-01 15:45:36,606 Building object-bridge maps (preheatCache: 
true, 6 classes). (DefaultObjectBridge.java [http-apr-8081-exec-9])
* INFO  2017-03-01 15:45:41,828 Building object-bridge maps took 5.21 seconds. 
(DefaultObjectBridge.java [http-apr-8081-exec-9])
* INFO  2017-03-01 15:45:42,548 'admin' update 
org.hisp.dhis.dataelement.DataElementCategoryOption, name: AFFM1302 (Norad 
Education GBV and ICLA), uid: VHqcQwn3cVW (AuditLogUtil.java 
[http-apr-8081-exec-9])

However in Postman I can see the this error:
HTTP Status 500 - Request processing failed; nested exception is 
org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" 
was no longer referenced by the owning entity instance: 
org.hisp.dhis.dataelement.DataElementCategoryOption.attributeValues

type Exception report
message Request processing failed; nested exception is 
org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" 
was no longer referenced by the owning entity instance: 
org.hisp.dhis.dataelement.DataElementCategoryOption.attributeValues
description The server encountered an internal error that prevented it from 
fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is org.hibernate.HibernateException: A collection with 
cascade="all-delete-orphan" was no longer referenced by the owning entity 
instance: org.hisp.dhis.dataelement.DataElementCategoryOption.attributeValues
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:980)


Since I see only the intended change in the catoption json I'm considering 
ignoring this error and running the update. But, before I do does anyone think 
this could lead to any problems down the line that I don't immediately see? The 
reason I am not using PUT is that I then have to re-send the sharing 
information (for that not to be removed in the process as it does in 2.23).

Thanks!

Running:
Version:
2.23
Build revision:
e5bfc4e
Build date:
2016-12-13 18:01



Best Regards
Halvar Trøyel Nerbø
Reporting Advisor
+47 992 39 817
Skype: nrc_troyel
www.nrc.no
[nrclogo]

___
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] GIS Module does't load Google Maps correctly

2017-03-01 Thread Knut Staring
You are right of course, I did not look closely at your attachment. Looks
like the key is the issue, it has been discussed earlier, but not sure
there was a clear resolution:

https://lists.launchpad.net/dhis2-devs/msg46211.html

On Wed, Mar 1, 2017 at 6:01 PM, Mamadou Diao Diallo 
wrote:

> Thank you for your answer,
> However i just moved my server physically so i have always the same
> version of tomcat7.
>
> Thanks.
>
> Diao
>
> On Wed, Mar 1, 2017 at 4:53 PM, Knut Staring  wrote:
>
>> Hi Diao,
>>
>> If you have moved hosting providers, you have probably also moved to an
>> updated version of Tomcat. Unfortunately, 2.22 does not work well with the
>> newer versions of Tomcat. Any chance you can update to 2.24 or 2.25?
>>
>> Knut
>>
>> On Wed, Mar 1, 2017 at 5:48 PM, Mamadou Diao Diallo <
>> diao_dia...@gn.jsi.com> wrote:
>>
>>> Hello every body,
>>>
>>> Please can some one help me, i can no longer open my GIS module the page
>>> does't load the Google maps correctly.
>>>
>>> I wonder if it is due to my network because i just move the server to
>>> another hosting provider.
>>>
>>> Find attached some screenshots.
>>>
>>> DHIS2 Version : *2.22*
>>> OS : *Ubuntu 14*
>>>
>>> Thank you in advanced.
>>>
>>> Diao
>>>
>>> --
>>> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
>>> Health Information Software )*
>>>
>>>
>>> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
>>> *Phone : 623909413 | 662256106*
>>> *Skype : diawwdiallo*
>>> www.jsi.com
>>>
>>> ___
>>> 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 <+47%20918%2080%20522>
>> Skype: knutstar
>> http://dhis2.org
>>
>
>
>
> --
> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
> Health Information Software )*
>
>
> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
> *Phone : 623909413 | 662256106*
> *Skype : diawwdiallo*
> www.jsi.com
>



-- 
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


Re: [Dhis2-devs] User role to grant access to custom app

2017-03-01 Thread Greg Rowles
Hi Devs

Anyone know of a user-role-authority for allowing users access to my custom
app?



On Wed, Mar 1, 2017 at 1:42 PM, Greg Rowles  wrote:

> Hi Devs
>
> Is there a user-role (missing perhaps) for users with limited access to
> see new apps in the application-drawer?
>
> I'm having no luck...
>
> Greg
>
> --
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
> - *
> Mobile  :073 246 2992
> Landline:   021 851 2216
> Skype:  gregory_rowles
>
>


-- 
*Health Information Systems Program - South Africa*
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile  :073 246 2992
Landline:   021 851 2216
Skype:  gregory_rowles
___
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] User role to grant access to custom app

2017-03-01 Thread Greg Rowles
Thanks Pooben! Sorted

On Wed, Mar 1, 2017 at 8:26 PM, Greg Rowles  wrote:

> Hi Devs
>
> Anyone know of a user-role-authority for allowing users access to my
> custom app?
>
>
>
> On Wed, Mar 1, 2017 at 1:42 PM, Greg Rowles  wrote:
>
>> Hi Devs
>>
>> Is there a user-role (missing perhaps) for users with limited access to
>> see new apps in the application-drawer?
>>
>> I'm having no luck...
>>
>> Greg
>>
>> --
>> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
>> - *
>> Mobile  :073 246 2992
>> Landline:   021 851 2216
>> Skype:  gregory_rowles
>>
>>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
> - *
> Mobile  :073 246 2992
> Landline:   021 851 2216
> Skype:  gregory_rowles
>



-- 
*Health Information Systems Program - South Africa*
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile  :073 246 2992
Landline:   021 851 2216
Skype:  gregory_rowles
___
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] WAR file cannot deploy in tomcat 8

2017-03-01 Thread Hannan Khan
Dear All

I just update one server to tomcat8 (version 8.0.36) but not able to deploy
war file (dhis2 version 23) the error message is following. I never have
this message before. I need immediate help.

FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed
to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/dhis]]

Regards

Muhammad Abdul Hannan Khan
DHIS2 Country coordinator & Secretary
HISP Bangladesh

T +880-2- 8816459, 8816412 ext 118
F +88 02 8813 875
M+88 01819 239 241
M+88 01534 312 066
E hann...@gmail.com
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
___
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] WAR file cannot deploy in tomcat 8

2017-03-01 Thread Bob Jolliffe
Hi Hannan

There is not sufficient info in this message to be able to help.  We know
from your report that it failed to start.  You need to look earlier in the
logfile for why it failed to start.  Also the java version might be helpful.

Bob

On 2 March 2017 at 11:24, Hannan Khan  wrote:

> Dear All
>
> I just update one server to tomcat8 (version 8.0.36) but not able to
> deploy war file (dhis2 version 23) the error message is following. I never
> have this message before. I need immediate help.
>
> FAIL - Encountered exception org.apache.catalina.LifecycleException:
> Failed to start component [StandardEngine[Catalina].
> StandardHost[localhost].StandardContext[/dhis]]
>
> Regards
>
> Muhammad Abdul Hannan Khan
> DHIS2 Country coordinator & Secretary
> HISP Bangladesh
>
> T +880-2- 8816459 <+880%202-8816459>, 8816412 ext 118
> F +88 02 8813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
> L https://bd.linkedin.com/in/hannankhan
>
>
>
___
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] WAR file cannot deploy in tomcat 8

2017-03-01 Thread Hannan Khan
Thanks bob for quick response.

Java:
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

And log:

02-Mar-2017 11:29:07.031 INFO [localhost-startStop-2]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive /opt/tomcat/webapps/dhis.war
02-Mar-2017 11:29:07.604 SEVERE [localhost-startStop-2]
org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing
docBase for context [/dhis]
 java.util.zip.ZipException: invalid literal/lengths set
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:381)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:165)
at
org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:619)
at
org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:752)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:308)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:394)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

02-Mar-2017 11:29:08.147 SEVERE [localhost-startStop-2]
org.apache.catalina.core.ContainerBase.addChildInternal
ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/dhis]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: java.util.zip.ZipException:
invalid entry size (expected 7165 but got 45246 bytes)
at
org.apache.catalina.webresources.JarWarResourceSet.getArchiveEntries(JarWarResourceSet.java:119)
at
org.apache.catalina.webresources.AbstractArchiveResourceSet.getResource(AbstractArchiveResourceSet.java:256)
at
org.apache.catalina.webresources.StandardRoot.getResourcesInternal(StandardRoot.java:327)
at
org.apache.catalina.webresources.CachedResource.validateResources(CachedResource.java:124)
at org.apache.catalina.webresources.Cache.getResources(Cache.java:150)
at
org.apache.catalina.webresources.StandardRoot.getResources(StandardRoot.java:315)
at
org.apache.catalina.webresources.StandardRoot.getClassLoaderResources(StandardRoot.java:231)
at
org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:145)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5111)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
... 10 more
Caused by: java.util.zip.ZipException: invalid entry size (expected 7165
but got 45246 bytes)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:196)
at java.util.jar.JarInputStream.read(JarInputStream.java:207)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118)
at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
at
org.apache.catalina.webresources.JarWarResourceSet.getArchiveEntries(JarWarResourceSet.java:112)
... 19 more

02-Mar-2017 11:29:08.148 SEVERE [localhost-startStop-2]
org

Re: [Dhis2-devs] WAR file cannot deploy in tomcat 8

2017-03-01 Thread Bob Jolliffe
Looks like a damaged war file (hence the zip exceptions when it tries to
extract).

Please try and download again or try with a known good war file.

On 2 March 2017 at 11:35, Hannan Khan  wrote:

> Thanks bob for quick response.
>
> Java:
> java version "1.8.0_121"
> Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
>
> And log:
>
> 02-Mar-2017 11:29:07.031 INFO [localhost-startStop-2]
> org.apache.catalina.startup.HostConfig.deployWAR Deploying web
> application archive /opt/tomcat/webapps/dhis.war
> 02-Mar-2017 11:29:07.604 SEVERE [localhost-startStop-2]
> org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing
> docBase for context [/dhis]
>  java.util.zip.ZipException: invalid literal/lengths set
> at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
> at java.io.FilterInputStream.read(FilterInputStream.java:107)
> at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:381)
> at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:165)
> at org.apache.catalina.startup.ContextConfig.fixDocBase(
> ContextConfig.java:619)
> at org.apache.catalina.startup.ContextConfig.beforeStart(
> ContextConfig.java:752)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent(
> ContextConfig.java:308)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:95)
> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(
> LifecycleBase.java:90)
> at org.apache.catalina.util.LifecycleBase.setStateInternal(
> LifecycleBase.java:394)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
> at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:725)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
> at org.apache.catalina.startup.HostConfig$DeployWar.run(
> HostConfig.java:1816)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
>
> 02-Mar-2017 11:29:08.147 SEVERE [localhost-startStop-2]
> org.apache.catalina.core.ContainerBase.addChildInternal
> ContainerBase.addChild: start:
>  org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/dhis]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
> at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:725)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
> at org.apache.catalina.startup.HostConfig$DeployWar.run(
> HostConfig.java:1816)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalStateException: java.util.zip.ZipException:
> invalid entry size (expected 7165 but got 45246 bytes)
> at org.apache.catalina.webresources.JarWarResourceSet.getArchiveEntries(
> JarWarResourceSet.java:119)
> at org.apache.catalina.webresources.AbstractArchiveResourceSet.
> getResource(AbstractArchiveResourceSet.java:256)
> at org.apache.catalina.webresources.StandardRoot.getResourcesInternal(
> StandardRoot.java:327)
> at org.apache.catalina.webresources.CachedResource.validateResources(
> CachedResource.java:124)
> at org.apache.catalina.webresources.Cache.getResources(Cache.java:150)
> at org.apache.catalina.webresources.StandardRoot.
> getResources(StandardRoot.java:315)
> at org.apache.catalina.webresources.StandardRoot.getClassLoaderResources(
> StandardRoot.java:231)
> at org.apache.catalina.util.ExtensionValidator.validateApplication(
> ExtensionValidator.java:145)
> at org.apache.catalina.core.StandardContext.startInternal(
> StandardContext.java:5111)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
> ... 10 more
> Caused by: java.util.zip.ZipException: invalid entry size (expected 7165
> but got 45246 bytes)
> at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384)
> at java.util.zip.ZipInputStream.read(ZipInputStream.java:196)
> at java.util.jar.JarInputStream.read(JarInputStream.java:207)
> at java.util.zip.ZipInputStream.closeEntry(ZipIn

Re: [Dhis2-devs] 500 error on PATCHing categoryOption on 2.23

2017-03-01 Thread Morten Olav Hansen
Hi Trøyel

Actually the PATCH functionality (especially in earlier versions) is not
the best. If you are not using attribute values, then I think you should be
OK (in general only simple properties like name is supported well)

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

On Thu, Mar 2, 2017 at 12:11 AM, Trøyel Nerbø  wrote:

> Hi all,
>
> I’m trying to batch update my code field on categoryOptions through
> patching the individual UiD’s on /api/categoryOptions/
> xxhDxyT8kCD.json?preheatCache=false .
>
>
>
> My raw json payload only includes the UiD, name and (new) code field. The
> server log gives a preheat and reports success on update. Comparing the
> before and after json the only change happened to the categoryOption is the
> intended one. The only issue I can see on the log side is that the
> preheatCache is not disabled as intended.
>
>
>
> The server log gives the following:
>
> * INFO  2017-03-01 15:45:36,606 Building object-bridge maps (preheatCache:
> true, 6 classes). (DefaultObjectBridge.java [http-apr-8081-exec-9])
>
> * INFO  2017-03-01 15:45:41,828 Building object-bridge maps took 5.21
> seconds. (DefaultObjectBridge.java [http-apr-8081-exec-9])
>
> * INFO  2017-03-01 15:45:42,548 'admin' update 
> org.hisp.dhis.dataelement.DataElementCategoryOption,
> name: AFFM1302 (Norad Education GBV and ICLA), uid: VHqcQwn3cVW
> (AuditLogUtil.java [http-apr-8081-exec-9])
>
>
>
> However in Postman I can see the this error:
>
> *HTTP Status 500 - Request processing failed; nested exception is
> org.hibernate.HibernateException: A collection with
> cascade="all-delete-orphan" was no longer referenced by the owning entity
> instance:
> org.hisp.dhis.dataelement.DataElementCategoryOption.attributeValues*
> --
>
> *type* Exception report
>
> *message* *Request processing failed; nested exception is
> org.hibernate.HibernateException: A collection with
> cascade="all-delete-orphan" was no longer referenced by the owning entity
> instance:
> org.hisp.dhis.dataelement.DataElementCategoryOption.attributeValues*
>
> *description* *The server encountered an internal error that prevented it
> from fulfilling this request.*
>
> *exception*
>
> org.springframework.web.util.NestedServletException: Request processing
> failed; nested exception is org.hibernate.HibernateException: A
> collection with cascade="all-delete-orphan" was no longer referenced by the
> owning entity instance: org.hisp.dhis.dataelement.
> DataElementCategoryOption.attributeValues
>
> org.springframework.web.servlet.FrameworkServlet.processRequest(
> FrameworkServlet.java:980)
>
>
>
>
>
> Since I see only the intended change in the catoption json I’m considering
> ignoring this error and running the update. But, before I do does anyone
> think this could lead to any problems down the line that I don’t
> immediately see? The reason I am not using PUT is that I then have to
> re-send the sharing information (for that not to be removed in the process
> as it does in 2.23).
>
>
>
> Thanks!
>
>
>
> Running:
>
> Version:
>
> 2.23
>
> Build revision:
>
> e5bfc4e
>
> Build date:
>
> 2016-12-13 18:01
>
>
>
>
>
>
> Best Regards
> *Halvar Trøyel Nerbø*
> Reporting Advisor
>
> +47 992 39 817
>
> Skype: nrc_troyel
> www.nrc.no
>
> [image: nrclogo] 
>
>
>
> ___
> 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] [Dhis2-users] Aggregated Data Capture using Android app

2017-03-01 Thread Araz Abishov
Dear Gerald,

I will be happy to help, but unfortunately I can’t. I am not the one who is
deciding on projects and development priorities at DHIS 2. If you have any
specific issues with data capture for android, just report them on JIRA
. For the projects themselves, I guess you need to
communicate with our managers. I have included Ola (our senior project
manager) and Erling (android team lead).

Best regards,

—
Araz Abishov,
Android developer, DHIS 2
University of Oslo
https://www.dhis2.org/

On February 28, 2017 at 6:34:02 PM, gerald thomas (gerald17...@gmail.com)
wrote:

Dear Araz,
I do not know if it had been done before or not because i am not
having much feedback from my DHIS2 colleagues which means i rely
totally on you for this project to be successful.

We want to take Data Entry to chiefdom level and at this level we have
limited electricity and Internet connectivity. In that case we are
thinking of a tablet app that can store data offline and then
automatically sync those offline data into the central server when the
tablet is online.

My questions:
1. Do we have any extra technicalities
2. Can you give us hardware recommendation for this implementation


On 2/28/17, Araz Abishov  wrote:
> Hi,
>
> *@Calle, *
> In order to refresh metadata / data you either need to use
pull-to-refresh
> gesture within “Aggregate Report” screen or just let android app to sync
> automatically (background service is invoked whenever device gets
online).
> I will add refresh button in the next release, in order to make it more
> explicit (feel free to create an issue in jira).
>
> Aggregate data capture supports DHIS 2 starting from 2.23 and up to 2.26.
> If it fails to sync, there are changes or backports which could break
API.
> If you notice this, please create a report in jira (including revision
> number of DHIS 2 instance).
>
> *@Gerald, *
> I guess a good place to start with android for DHIS 2 can be this
document
> <
https://docs.google.com/document/d/1FegyiHWcUTEulYMxJwDdbhWHcfnP7yuUZTbU4yGUh_8/edit>.

> Please, let us know if you have any specific questions.
>
> Best regards,
>
> —
> Araz Abishov,
> Android developer, DHIS 2
> University of Oslo
> https://www.dhis2.org/
>
> On February 28, 2017 at 8:44:52 AM, gerald thomas (gerald17...@gmail.com)
> wrote:
>
> Dear Araz & Colleagues,
> Please i am really out of ideas; any help from OpCo who had done this
> implementation before. Kindly remember that the key here is to do data
> entry off-line using tablets and once they are on-line their tablets
> should sync with the main server and all data are then uploaded.
>
> Thanks in advance for your help.
>
> On 2/27/17, Calle Hedberg  wrote:
>> Araz,
>>
>> I've just assisted Gerald with getting into the "Data capture for DHIS2"
>> app - the server is running 2.25 and we downloaded the latest app from
>> Google store.
>>
>> What is really perplexing is that the app only shows ONE data set - the
> one
>> called "Population estimates". Furthermore, the data elements under that
>> data set are old elements that were removed over a month ago - and none
> of
>> the current population data elements are showing.
>>
>> I cannot see any menu option for refreshing the database or anything
like
>> that - there is only "Aggregate Report" and then "Choose Organisation
>> Unit".
>>
>> Is that app supported under 2.25?
>>
>> Regards
>> Calle
>>
>> On 27 February 2017 at 17:27, gerald thomas 
> wrote:
>>
>>> Araz,
>>> This is very new to me and i will like to know the best possible way
>>> we should implement this project. Please if you can kindly share
>>> everything with reference to similar project(s), i will be grateful.
>>> Also i know there will be challenges with reference to android
>>> devices, so i am kindly requesting that you should advice on the best
>>> android tablet specification for this project.
>>>
>>> On 2/27/17, Araz Abishov  wrote:
>>> > Hi Gerald,
>>> >
>>> > Do you questions regarding android specifically or more about
>>> configuration
>>> > part of the server?
>>> >
>>> > Best regards,
>>> >
>>> > —
>>> > Araz Abishov,
>>> > Android developer, DHIS 2
>>> > University of Oslo
>>> > https://www.dhis2.org/
>>> >
>>> > On February 27, 2017 at 3:15:27 PM, gerald thomas
>>> > (gerald17...@gmail.com
>>> )
>>> > wrote:
>>> >
>>> > Dear All,
>>> > We want to capture our aggregated data (HF1 to HF8 forms) at CHC
level
>>> > (partial electricity & network coverage) to an android device and
>>> > later synced all information to our cloud hosting instance. Please
can
>>> > anyone help me with the procedures to achieve it. I will also like to
>>> > know the challenges colleagues face and their approach to tackle
these
>>> > issues.
>>> >
>>> > Thanks in advance for your help.
>>> > Regards,
>>> >
>>> > Gerald
>>> >
>>> > ___
>>> > Mailing list: https://launchpad.net/~dhis2-users
>>> > Post to : dhis2-us...@lists.launchpad.net
>>> > Unsubscribe : http