[Dhis2-devs] Tragic passing of Dr Dapo Adejumo

2018-08-24 Thread Adebusoye Anifalaje
Dear DHIS 2 community,

I am deeply saddened to inform you that Dapo passed away yesterday. This is 
still very shocking to us. 

We have set up a gofundme  page 
where you can donate to support his wife and two children. Even if you are not 
able to give a monetary donation his family will appreciate if you can share 
messages and memories on this page.

Many thanks for your support. May his soul will rest in peace

Very best wishes, 

- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

___
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] Cancelled event: University of Melbourne - DHIS 2 - VA Training @ Wed 29 Aug - Thu 30 Aug 2018 (dhis2-devs@lists.launchpad.net)

2018-07-12 Thread Adebusoye Anifalaje
Apologies for the spam email, not intended audience. 


- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com <mailto:bus...@baosystems.com> | 
http://www.baosystems.com <http://www.baosystems.com/> |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 12 Jul 2018, at 14:13, bus...@baosystems.com wrote:
> 
> This event has been cancelled.
> University of Melbourne - DHIS 2 - VA Training
> When
> Wed 29 Aug – Thu 30 Aug 2018
> Where
> Cambridge, England (map 
> <https://maps.google.com/maps?q=Cambridge,+England=en-GB>)
> Calendar
> dhis2-devs@lists.launchpad.net
> Who
> •
> Adebusoye Anifalaje- creator
> •
> DHIS 2 developers
> Invitation from Google Calendar <https://www.google.com/calendar/>
> You are receiving this courtesy email at the account 
> dhis2-devs@lists.launchpad.net because you are an attendee of this event.
> 
> To stop receiving future updates for this event, decline this event. 
> Alternatively, you can sign up for a Google account at 
> https://www.google.com/calendar/ and control your notification settings for 
> your entire calendar.
> 
> Forwarding this invitation could allow any recipient to modify your RSVP 
> response. Learn More 
> <https://support.google.com/calendar/answer/37135#forwarding>.
> 
>  Attachment.ics>___
> 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] Can't load option sets after upgrade

2018-06-07 Thread Adebusoye Anifalaje
Hi Barnabas,

This sounds like a recent bug that was fixed. Try updating to the latest build 
to see if that solves the problem 

Best, 

- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 7 Jun 2018, at 15:19, Barnabas Akumba  wrote:
> 
> Hello All,
> 
> I've upgraded from 2.28 to 2.29 and discovered that option sets can't load in 
> my event program which hitherto were loading.
> i.e. there are some elements that have option sets as values to be selected 
> from during data entry but those options wouldn't load.
> 
> Any one with this experience before? How can this be solved?
> 
> Your usual responses will be appreciated.
> 
> Regards
> 
> -- 
>  
> Barnabas AKUMBA
> 
> Mobile: +2348036195778
> Skype: barnabas.akumba
> ___
> 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

___
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] indicators suming up as average in total

2018-05-24 Thread Adebusoye Anifalaje
Hi Moses,

There is already a Jira issue logged for this: 
https://jira.dhis2.org/browse/DHIS2-2380 


You can vote for it. 

Cheers. 
- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 24 May 2018, at 16:24, moses mwale  wrote:
> 
> please can someone help me, my indicators are suming up as Average instead of 
> Sum please help
> 
> -- 
> developer_lusaka_systems
> ___
> 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] LAST AGGREGATION OPERATIONS

2018-04-28 Thread Adebusoye Anifalaje
Hi John,

I had the same issue as you described and just concluded it was not yet 
supported at the data element definition level. 


Cheers. 
- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 28 Apr 2018, at 10:37, John Mukulu  wrote:
> 
> Hello everyone,
> 
> Has anyone tried the LAST aggregation operations for data elements in 2.29? 
> 
> Seems like impossible to create dataelements of such type and save them, and 
> if you bypass web interface with direct api posts or changing operator 
> directly on the database with query, analytics would complain of unsupported 
> aggregation operator(LAST)
> 
> Is this available in backend analytics or its just a front end feature of 
> pivot, I believe I'm missing something and it may not be a bug that needs 
> filing in JIRA.
> 
> 
> John Francis Mukulu
> Software Architect, HISPTZ
> http://hisptanzania.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] WEB API Error in DHIS2.30

2018-04-19 Thread Adebusoye Anifalaje
Hi Mahdi,
I am forwarding your request to the user list. This is the appropriate
forum for asking these sort of questions.

Best.
Busoye.

-- Forwarded message -
From: mahdi asgari 
Date: Thu, 19 Apr 2018 at 20:25
Subject: WEB API Error in DHIS2.30
To: 


Hi dear adebusoye

I am using dhis2 version 2.30, compiled from github (last version),
When i try to create trackedEntity, i get the following error
I seem's TrackedEntity has been removed from TrackedEntityInstance
how i can fix the problem.

ERROR:
{"httpStatus":"Internal Server
Error","httpStatusCode":500,"status":"ERROR","message":"Unrecognized field
\"trackedEntity\" (class
org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not marked
as ignorable (14 known properties: \"trackedEntityInstance\",
\"lastUpdatedAtClient\", \"lastUpdated\", \"createdAtClient\",
\"trackedEntityType\", \"orgUnit\", \"inactive\", \"enrollments\",
\"featureType\", \"attributes\", \"deleted\", \"relationships\",
\"created\", \"coordinates\"])\n at [Source: {\"trackedEntityInstance\":
\"IKjF4BZg3hb\",\"trackedEntity\": \"nEenWmSyUEp\",\"orgUnit\":
\"iq6Pt6QzM4d\",\"trackedEntityType\":
\"MCPQUTHX1Ze\",\"attributes\":[{\"attribute\":\"spFvx9FndA4\",\"value\":\"53\"},{\"attribute\":\"w75KJ2mc4zz\",\"value\":\"\"},{\"attribute\":\"hqtiQfZ66yc\",\"value\":\"??\"},{\"attribute\":\"zDhUuAYrxNC\",\"value\":\"\"},{\"attribute\":\"AuPLng5hLbE\",\"value\":\"51961113\"},{\"attribute\":\"EO4ms2Ju3nf\",\"value\":\"1\"},{\"attribute\":\"gHGyrwKPzej\",\"value\":\"2013-09-17\"},{\"attribute\":\"P2cwLGskgxn\",\"value\":\"123\"},{\"attribute\":\"Agywv2JGwuq\",\"value\":\"\"}],\"enrollments\":[{\"orgUnit\":
\"iq6Pt6QzM4d\",\"program\": \"LaWt5AR1tfl\",\"enrollmentDate\":
\"2013-09-17\",\"incidentDate\": \"2013-09-17\"}]}; line: 1, column: 59]
(through reference chain:
org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[\"trackedEntity\"])"}

JSON DATA:
{"trackedEntityInstance": "IKjF4BZg3hb","orgUnit":
"iq6Pt6QzM4d","trackedEntity":"lp7Kq6QzS4d","trackedEntityType":
"MCPQUTHX1Ze","attributes":[{"attribute":"spFvx9FndA4","value":"53","attribute":"w75KJ2mc4zz","value":"","attribute":"hqtiQfZ66yc","value":"??","attribute":"zDhUuAYrxNC","value":"","attribute":"AuPLng5hLbE","value":"51961113","attribute":"EO4ms2Ju3nf","value":"1","attribute":"gHGyrwKPzej","value":"2013-09-17","attribute":"P2cwLGskgxn","value":"123","attribute":"Agywv2JGwuq","value":""}],"enrollments":[{"orgUnit":
"iq6Pt6QzM4d","program": "LaWt5AR1tfl","enrollmentDate":
"2013-09-17","incidentDate": "2013-09-17"}]}

thanks in advanced
-- 
Forgive the typos. Using handheld device
___
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] Error when exporting metadata throuhg metadata export

2017-12-01 Thread Adebusoye Anifalaje
Hi Vunda,

From the log you extracted, it seems like you have a duplicate UID in your org 
unit. You can check this from sqlview to identify the org units and investigate 
how this happened.


 ERROR 2017-11-16 13:33:15,502 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-10])
org.springframework.dao.DuplicateKeyException: StatementCallback; SQL [create 
unique index in_orgunitstructure_organisationunituid_riWJM on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
at 
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
Caused by: org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
* ERROR 2017-11-16 13:34:00,013 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-9])
at com.sun.proxy.$Proxy76.sendSystemErrorNotification(Unknown Source)
at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
* INFO  2017-11-16 18:04:00,569 [Level: ERROR, category: RESOURCETABLE_UPDATE, 
time: Thu Nov 16 18:04:00 WAT 2017, message: Process failed: StatementCallback; 
SQL [create unique index in_orgunitstructure_organisationunituid_ptMI8 on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
* ERROR 2017-11-16 18:04:01,388 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-6])
org.springframework.dao.DuplicateKeyException: StatementCallback; SQL [create 
unique index in_orgunitstructure_organisationunituid_ptMI8 on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 1 Dec 2017, at 10:43, vunda limbe  wrote:
> 
> Hi Isaiah,
> 
> Thank you for your help, but I'm a newbie in Web API even in Restfull. I need 
> step by step to apply the script you sent me.
> Could you help?
> 
> Thanks.
> 
> On Wed, Nov 22, 2017 at 6:47 PM, Isaiah Nyabuto  > wrote:
> Hi Vunda,
> 
> I hope you were sorted out ?
> 
> You may also want to have look the following script 
>  on web APIs with dhis2 I once did. 
> You only need to construct a URL and change the credentials and you are good 
> to go. 
> 
> Best regards
> 
> 
> 
> 
> 
> 
> 
> On Fri, Nov 17, 2017 at 3:57 PM, vunda limbe  > wrote:
> Hi Everybody,
> 
> When I try to export meta data in both json or xml, I'm getting this message: 
> "
> {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR"}
> Could someone tell me how to fix this? Alternativly, someone can give me a 
> script in order to export dataelement, COC, CO and Dataset using Web Api.
> 
> Your help is welcome.
> 
> Thanks.
> 
> ___
> 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 
> 
> 
> 
> 
> 
> -- 
> 
> Isaiah Nyabuto
> +254 729 572 616
> Bsc. Health Records Management & Informatics, JKUAT.
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs 
> 
> 

Re: [Dhis2-devs] [Dhis2-users] Problem with setting up validation notifications

2017-10-03 Thread Adebusoye Anifalaje
Hi Elmarie,
The documentations states that  "They are sent via the internal DHIS2 messaging 
system.”

Have you checked if the notification is coming though on the dashboard messages?

Best,

- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 3 Oct 2017, at 10:12, Elmarie Claasen  wrote:
> 
> Hi Prosper,
>  
> Analytics ran last night and monitoring was turned on then but did not 
> receive any validation notifications. 
>  
> Regards,
>  
> Elmarie Claasen
> 
> Project Manager
> Health Information Systems Program
> Tel:  041-367 1027
> Cell: 082 374 2209
> E-mail: elma...@hisp.org 
> Skype:  elmarie.claasen52 
>  
> From: Prosper BT [mailto:ptb3...@gmail.com ] 
> Sent: Tuesday, October 3, 2017 11:02 AM
> To: Elmarie Claasen >
> Cc: dhis1-users  >; dhis2-devs 
> >
> Subject: Re: [Dhis2-users] Problem with setting up validation notifications
>  
> Dear Elmarie,
>  
> How are you testing this? because notifications will be sent out when 
> analytics run and monitoring turned on
>  
> Regards
>  
>  
> 
> Prosper Behumbiize, MPH
> DHIS2 Implementation| HISP Uganda
> pros...@hispuganda.org  | pros...@dhis2.org 
>  | Skype: prospertb
>  
> On Tue, Oct 3, 2017 at 11:39 AM, Elmarie Claasen  > wrote:
>> Hi Prosper,
>>  
>> Thanks so going through this I now understand what the “Notify users in 
>> hierarchy only” is for. I have set it up in this manner described in the 
>> manual. 
>> However I still don’t understand why the system is not sending out 
>> notifications. Have I left anything out or is there a known bug?
>>  
>> Regards,
>>  
>> Elmarie Claasen
>> 
>> Project Manager
>> Health Information Systems Program
>> Tel:  041-367 1027
>> Cell: 082 374 2209
>> E-mail: elma...@hisp.org 
>> Skype:  elmarie.claasen52 
>>  
>> From: Prosper BT [mailto:ptb3...@gmail.com ] 
>> Sent: Tuesday, October 3, 2017 10:33 AM
>> To: Elmarie Claasen >
>> Cc: dhis1-users > >; dhis2-devs 
>> >
>> Subject: Re: [Dhis2-users] Problem with setting up validation notifications
>>  
>> Dear Elmarie,
>>  
>> There is some guidance here on validation rules
>> https://docs.dhis2.org/master/en/user/html/dhis2_user_manual_en_full.html#manage_validation_rule
>>  
>> 
>>  
>> Regards
>> 
>> Prosper Behumbiize, MPH
>> DHIS2 Implementation| HISP Uganda
>> pros...@hispuganda.org  | pros...@dhis2.org 
>>  | Skype: prospertb
>>  
>> On Tue, Oct 3, 2017 at 11:23 AM, Elmarie Claasen > > wrote:
>>> Hi all, 
>>>  
>>> I am struggling to set up validation notifications on an aggregated 
>>> instance with validation rules defined. 
>>> I could not find guidance in the DHIS2 manuals specifically how to set this 
>>> up. 
>>> I followed the following: 
>>> 1)  Validation rules are defined
>>> 
>>> 2)  Added a validation notification template where I selected 
>>> collective summary and left the “notify users in hierarchy unticked” since 
>>> I don’t quite understand what that option would mean. Selected a user group 
>>> to which this notification template should send notifications
>>> 
>>> 3)  Under scheduling activated Data Monitoring to “All daily”
>>> 
>>> 4)  We do have an email configured on the instance which is 
>>> successfully sending out other mails e.g. forgot password notifications, 
>>> password expiry notifications etc. 
>>> 
>>>  
>>> What am I missing in the configuration as the particular user group do not 
>>> receive notifications?
>>>  
>>> Regards,
>>>  
>>> Elmarie Claasen
>>> 
>>> Project Manager
>>> Health Information Systems Program
>>> Tel:  041-367 1027
>>> Cell: 082 374 2209
>>> E-mail: elma...@hisp.org 
>>> Skype:  elmarie.claasen52 
>>>  
>>>  
>>> This message and any attachments are subject to a disclaimer published at 
>>> http://www.hisp.org/policies.html#comms_disclaimer 
>>> .  Please read the 
>>> disclaimer before opening any attachment or taking any other action in 
>>> terms 

Re: [Dhis2-devs] why can't select the program just added?

2017-09-19 Thread Adebusoye Anifalaje
Hi,

Have you added the program to your user role?


- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 19 Sep 2017, at 10:47, 林晓东  wrote:
> 
> 
>  
> hi.all.
> 
>   I  add a program without register in program/attribute or maintain app,  
> created some stage with some dataelement ,assign to some org. but ,I can't 
> select in event capture, why?  I have lost some step?
> 
> 
> Thanks
> 
> --
> 此致
> 
>林晓东
> 
> 莫愁前路无知己,天下谁人不识君。
> 
> 
>  
> 
> 
>  
> ___
> 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] Avoid double registration of Tracked entities

2017-09-12 Thread Adebusoye Anifalaje
Hi Georgi,

Great to connect again. 

Abyot is right: unless you implement a unique identifier scheme for each 
record, there is currently no way to achieve what you want. If you can wait, 
the feature will eventually make it into the core s/w. 

Alternatively, if you can’t wait, what I was proposing was not for end users to 
run a query. Rather, the query would already be created with a standard report 
template (HTML?) to go with it. The end user would only be required to click on 
generate report. You can add parameters to the report like org unit (e.g. 
looking for duplicates within a specific org unit). 

Not sure you have many options at this stage.

Cheers.

- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com <mailto:bus...@baosystems.com> | 
http://www.baosystems.com <http://www.baosystems.com/> |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 12 Sep 2017, at 08:27, Georgi Chakarov <geo...@logicaloutcomes.net> wrote:
> 
> Hello Adebusoye!
> 
> Nice to hear from you again, since our meeting in London at the WW Summit!
>  
> Thank you for your thoughts! The thing is, I can’t really tell data entry 
> people, working on the field to run a query. They simply can’t. This needs to 
> be a user interface solution. Do you have other ideas in mind?
>  
> Georgi
>  
> From: Adebusoye Anifalaje [mailto:bus...@baosystems.com 
> <mailto:bus...@baosystems.com>] 
> Sent: Tuesday, September 12, 2017 10:23 AM
> To: Georgi Chakarov <geo...@logicaloutcomes.net 
> <mailto:geo...@logicaloutcomes.net>>
> Cc: Abyot Asalefew Gizaw <ab...@dhis2.org <mailto:ab...@dhis2.org>>; Stanley 
> Kalyati <skaly...@gmail.com <mailto:skaly...@gmail.com>>; 
> dhis2-us...@lists.launchpad.net <mailto:dhis2-us...@lists.launchpad.net>; 
> DHIS 2 developers <dhis2-devs@lists.launchpad.net 
> <mailto:dhis2-devs@lists.launchpad.net>>
> Subject: Re: [Dhis2-users] Avoid double registration of Tracked entities
>  
> Hi Georgi,
>  
> You can always create a query that identifies duplicates based on any number 
> or combination of parameters. The query could then be wrapped in a report 
> that end users can run ad hoc.
>  
> Best
>  
> - -
>  
> 
> 
> 
> Busoye Anifalaje (PhD)
> Director of Services (Principal), BAO Systems
> UK: +44 7901-740-757 | US: +1 682-307-0986|
>  bus...@baosystems.com <mailto:bus...@baosystems.com> | 
> http://www.baosystems.com <http://www.baosystems.com/> |
> Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007
>  
> On 12 Sep 2017, at 08:18, Georgi Chakarov <geo...@logicaloutcomes.net 
> <mailto:geo...@logicaloutcomes.net>> wrote:
>  
> Hi,
>  
> This will not work, because each of this attributes can have a duplicate. 
> E.g. you might have two persons by the name of “John”. It is the combination 
> of those attributes that needs to be unique, as it is less likely to have two 
> people with the same First Name and Surname, born on the same date.
>  
> There should be another solution. Our clients are very surprised how a system 
> is unable to lookup in the existing records and identify duplicates. Anyone?
>  
> Georgi
>  
> From: Abyot Asalefew Gizaw [mailto:ab...@dhis2.org <mailto:ab...@dhis2.org>] 
> Sent: Tuesday, September 12, 2017 10:13 AM
> To: Stanley Kalyati <skaly...@gmail.com <mailto:skaly...@gmail.com>>
> Cc: Georgi Chakarov <geo...@logicaloutcomes.net 
> <mailto:geo...@logicaloutcomes.net>>; DHIS Users 
> <dhis2-us...@lists.launchpad.net <mailto:dhis2-us...@lists.launchpad.net>>; 
> DHIS 2 Developers list <dhis2-devs@lists.launchpad.net 
> <mailto:dhis2-devs@lists.launchpad.net>>
> Subject: Re: [Dhis2-users] Avoid double registration of Tracked entities
>  
> Hi,
>  
> The only possibility we have at the moment is if you make those attributes 
> unique.
> 
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org <http://www.dhis2.org/>
>  
> On Tue, Sep 12, 2017 at 7:10 AM, Stanley Kalyati <skaly...@gmail.com 
> <mailto:skaly...@gmail.com>> wrote:
> Has anyone responded to this? Am also very interested.
>  
> Thanks
>  
> On Sep 10, 2017 11:22 AM, "Georgi Chakarov" <geo...@logicaloutcomes.net 
> <mailto:geo...@logicaloutcomes.net>> wrote:
> Hello!
> 
> Is there a way to avoid a double registration of Tracked entities? E.g. the 
> attributes are Name, Surname, Date of Birth, can I create a program rule that 
> searches if all three values match existing records to pro

Re: [Dhis2-devs] [Dhis2-users] Avoid double registration of Tracked entities

2017-09-12 Thread Adebusoye Anifalaje
Hi Georgi,

You can always create a query that identifies duplicates based on any number or 
combination of parameters. The query could then be wrapped in a report that end 
users can run ad hoc.

Best

- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 12 Sep 2017, at 08:18, Georgi Chakarov  wrote:
> 
> Hi,
>  
> This will not work, because each of this attributes can have a duplicate. 
> E.g. you might have two persons by the name of “John”. It is the combination 
> of those attributes that needs to be unique, as it is less likely to have two 
> people with the same First Name and Surname, born on the same date.
>  
> There should be another solution. Our clients are very surprised how a system 
> is unable to lookup in the existing records and identify duplicates. Anyone?
>  
> Georgi
>  
> From: Abyot Asalefew Gizaw [mailto:ab...@dhis2.org ] 
> Sent: Tuesday, September 12, 2017 10:13 AM
> To: Stanley Kalyati >
> Cc: Georgi Chakarov  >; DHIS Users 
> >; 
> DHIS 2 Developers list  >
> Subject: Re: [Dhis2-users] Avoid double registration of Tracked entities
>  
> Hi,
>  
> The only possibility we have at the moment is if you make those attributes 
> unique.
> 
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org 
>  
> On Tue, Sep 12, 2017 at 7:10 AM, Stanley Kalyati  > wrote:
> Has anyone responded to this? Am also very interested.
>  
> Thanks
>  
> On Sep 10, 2017 11:22 AM, "Georgi Chakarov"  > wrote:
> Hello!
> 
> Is there a way to avoid a double registration of Tracked entities? E.g. the 
> attributes are Name, Surname, Date of Birth, can I create a program rule that 
> searches if all three values match existing records to prompt a message that 
> a person with such attributes already exists? Another suggestion is also 
> welcome.
>  
> Regards,
>  
> Georgi
>  
>   
> Georgi Chakarov, CIA | geo...@logicaloutcomes.net 
>  | +1-647-478-5634 x 104 
>  | LogicalOutcomes c/o Centre for Social Innovation, 
> 720 Bathurst Street, Toronto Canada M5S 2R4 | You may unsubscribe from 
> receiving commercial electronic messages from LogicalOutcomes by emailing 
> i...@logicaloutcomes.net 
>  
>  
> ___
> 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 
> 
> 
> ___
> 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 
> 
>  
> ___
> 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 
> 

___
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] Update of category option combos fails

2016-12-13 Thread Adebusoye Anifalaje
Hi Devs,

I am also getting this error with version 2.24 build 1d4233c. Updating COCs in 
maintenance results in an unresolved loop. I have attached a screenshot of the 
error I see on the Chrome console. This is a crucial functionality and would be 
great to have a quick fix.

Thanks.


- -



Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007

> On 9 Dec 2016, at 22:10, Juan Manuel Alcantara Acosta 
>  wrote:
> 
> Hello DEVs 
> Testing 2.25 (c4d5ae9,2016-12-08 04:01) I found that the update of category 
> option combinations fails , this also happens in the latest version of 2.22.
> 
>  Here’s a sample of the log:
> 
> * INFO  2016-12-09 21:39:38,424 'jmalcantara' update 
> org.hisp.dhis.dataelement.DataElementCategoryCombo, name: KH RH CM - Methods 
> and Event Types, uid: PyXTHIJHdXH (AuditLogUtil.java [http-apr-8081-exec-6])
> * WARN  2016-12-09 21:41:31,792 SQL Error: 0, SQLState: 23503 
> (SqlExceptionHelper.java [http-apr-8081-exec-6])
> * ERROR 2016-12-09 21:41:31,793 ERROR: update or delete on table 
> "categoryoptioncombo" violates foreign key constraint 
> "fk_dataelementoperand_dataelementcategoryoptioncombo" on table 
> "dataelementoperand"
>   Detail: Key (categoryoptioncomboid)=(149689) is still referenced from table 
> "dataelementoperand". (SqlExceptionHelper.java [http-apr-8081-exec-6])
> * ERROR 2016-12-09 21:41:33,470 HHH000346: Error during managed flush [could 
> not execute statement] (SessionImpl.java [http-apr-8081-exec-6])
> 
> 
> I see the process eliminates obsolete category option combos but it fails due 
> to table dependencies and when this happens new option combos are not created.
> Any chance this can be solved? even if it means leaving obsolete category 
> option combos.
> 
> Best regards.
> JM
> 
> 
> ___
> 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] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Adebusoye Anifalaje
Got it Calle.

I just tested locally here and it works fine. Using

Version:2.22Build revision:22067


 *Busoye Anifalaje (PhD)*

Director of Services (Principal), BAO Systems

UK: +44 7901-740-757 | US: +1 682-307-0986|

 bus...@baosystems.com | http://www.baosystems.com |
Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007

On Wed, Jul 6, 2016 at 4:05 PM, Calle Hedberg <calle.hedb...@gmail.com>
wrote:

> Busoye,
>
> As I said, we have tried adding EVERYTHING (every single permission) to
> the user role - it still does not work. The only way to make it work is by
> adding ALL (then it works even without any other permission set).
>
> Giving us grey hair, this problem is
>
> Regards
> calle
>
> On 6 July 2016 at 17:02, Adebusoye Anifalaje <bus...@baosystems.com>
> wrote:
>
>> Okay Calle.
>>
>> Checked the permissions you set. Not sure but can you try adding *Add/Update
>> Tracked Entity Instance*. Strictly speaking an event does not have an
>> entity but each record might be conceived as an instance. Worth trying I
>> think. If it works then you want to also add *Delete Tracked Entity
>> Instance.*
>>
>> Let's know if that helps.
>>
>> Busoye
>>
>>
>>  *Busoye Anifalaje (PhD)*
>>
>> Director of Services (Principal), BAO Systems
>>
>> UK: +44 7901-740-757 | US: +1 682-307-0986|
>>
>>  bus...@baosystems.com | http://www.baosystems.com |
>> Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007
>>
>> On Wed, Jul 6, 2016 at 3:51 PM, Calle Hedberg <calle.hedb...@gmail.com>
>> wrote:
>>
>>> Busoye,
>>>
>>> YES, the program is added to the role, and its sharing is set to public
>>> view and edit (with login).
>>>
>>> We have found earlier dev threads about very similar problems, but all
>>> indications are that those were fixed in 2.21. We have tested the latest
>>> 2.22 and the latest 2.23 - no difference. The only way to make it work is
>>> either to include ALL with that user role, or else log in as superuser. All
>>> other authorisations do not work.
>>>
>>> Regards
>>> Calle
>>>
>>> On 6 July 2016 at 15:07, Busoye Anifalaje <bus...@hisp.org> wrote:
>>>
>>>> Hi Calle,
>>>> Have you added the event program to the role. The ALL authority is not
>>>> a summation of all other permissions but a special designation that
>>>> provides access to grant access to all apps and privately created objects
>>>> (with the exception of dashboards).
>>>>
>>>> Hope that helps.
>>>>
>>>> Cheers,
>>>> Busoye
>>>> On 6 Jul 2016 2:00 p.m., "Calle Hedberg" <calle.hedb...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> Small correction: we have now ascertained that if the Data Capturer -
>>>>> Events have every single authorisation selected (except ALL), it does NOT
>>>>> work. If we on the other hand select ALL, then it works.
>>>>>
>>>>> What is the difference between ALL and the sum of all individual
>>>>> authorisations?
>>>>>
>>>>> regards
>>>>> callee
>>>>>
>>>>> On 6 July 2016 at 12:35, Calle Hedberg <calle.hedb...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We have an instance with an Event program and a user role called
>>>>>> "Data Capturer - Events" with the following authorisations - but one or
>>>>>> more is missing:
>>>>>>
>>>>>> Add/Update event
>>>>>> Add/Update Tracked Entity
>>>>>> Add/Update Tracked Entity Data Value
>>>>>> Delete Data Value
>>>>>> Generate Min-Max Value
>>>>>> Run validation
>>>>>> See Browser Cache Cleaner module
>>>>>> See Dashboard Intergration Module
>>>>>> See even Capture Module
>>>>>> See Event Report Module
>>>>>> See Event Visualiser module
>>>>>> See GIS Module
>>>>>> See Pivot table module
>>>>>> See report module
>>>>>> See validation rule
>>>>>>
>>>>>> Something is missing, though - when a data capturer opens the Event
>>>>>> 

Re: [Dhis2-devs] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Adebusoye Anifalaje
Okay Calle.

Checked the permissions you set. Not sure but can you try adding *Add/Update
Tracked Entity Instance*. Strictly speaking an event does not have an
entity but each record might be conceived as an instance. Worth trying I
think. If it works then you want to also add *Delete Tracked Entity
Instance.*

Let's know if that helps.

Busoye


 *Busoye Anifalaje (PhD)*

Director of Services (Principal), BAO Systems

UK: +44 7901-740-757 | US: +1 682-307-0986|

 bus...@baosystems.com | http://www.baosystems.com |
Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007

On Wed, Jul 6, 2016 at 3:51 PM, Calle Hedberg 
wrote:

> Busoye,
>
> YES, the program is added to the role, and its sharing is set to public
> view and edit (with login).
>
> We have found earlier dev threads about very similar problems, but all
> indications are that those were fixed in 2.21. We have tested the latest
> 2.22 and the latest 2.23 - no difference. The only way to make it work is
> either to include ALL with that user role, or else log in as superuser. All
> other authorisations do not work.
>
> Regards
> Calle
>
> On 6 July 2016 at 15:07, Busoye Anifalaje  wrote:
>
>> Hi Calle,
>> Have you added the event program to the role. The ALL authority is not a
>> summation of all other permissions but a special designation that provides
>> access to grant access to all apps and privately created objects (with the
>> exception of dashboards).
>>
>> Hope that helps.
>>
>> Cheers,
>> Busoye
>> On 6 Jul 2016 2:00 p.m., "Calle Hedberg"  wrote:
>>
>>> Hi
>>>
>>> Small correction: we have now ascertained that if the Data Capturer -
>>> Events have every single authorisation selected (except ALL), it does NOT
>>> work. If we on the other hand select ALL, then it works.
>>>
>>> What is the difference between ALL and the sum of all individual
>>> authorisations?
>>>
>>> regards
>>> callee
>>>
>>> On 6 July 2016 at 12:35, Calle Hedberg  wrote:
>>>
 Hi,

 We have an instance with an Event program and a user role called "Data
 Capturer - Events" with the following authorisations - but one or more is
 missing:

 Add/Update event
 Add/Update Tracked Entity
 Add/Update Tracked Entity Data Value
 Delete Data Value
 Generate Min-Max Value
 Run validation
 See Browser Cache Cleaner module
 See Dashboard Intergration Module
 See even Capture Module
 See Event Report Module
 See Event Visualiser module
 See GIS Module
 See Pivot table module
 See report module
 See validation rule

 Something is missing, though - when a data capturer opens the Event
 Capture app and selects an orgunit with a number of pre-existing events,
 nothing is showing. Also when selecting "Register event", all the drop-down
 option sets with a large number of options are blank.

 If I add ALL to the user role, or if I add all the individual
 authorisations, everything works fine.

 Two questions:

 1. Can anybody see which authorisation(s) is/are missing in the list
 above?

 2. Where can I find an overview of all authorisations in the system
 with a detailed explanation of (a) what exactly that authorisation provides
 access to and (b) what authorisations have an impact on which areas
 (routine data capture/use, event data capture/use, tracker data
 capture/use).

 Best 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

 ***


>>>
>>>
>>> --
>>>
>>> ***
>>>
>>> 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
>>>
>>>
>> *This message and any attachments are subject to a disclaimer published
>> at http://www.hisp.org/policies.html#comms_disclaimer
>> .  Please read the
>> disclaimer before opening any attachment or taking any other action in
>> terms of this electronic transmission.  If you cannot access the
>> disclaimer, kindly send an email to disclai...@hisp.org
>> 

[Dhis2-devs] Fwd: Program Indicators: Legend Sets Association not rendering in Event Report

2016-05-12 Thread Adebusoye Anifalaje
Hi devs,
Just bumping this problem. Any help forthcoming?


Thanks

Busoye

-- Forwarded message --
From: Busoye Anifalaje 
Date: Fri, May 6, 2016 at 12:34 PM
Subject: Program Indicators: Legend Sets Association not rendering in Event
Report
To: DHIS 2 developers 
Cc: Rodolfo Melia , JM Alcantara <
jmalcanta...@gmail.com>, Esunly Medina 


Hi devs,

I associated a legend set to a Program Indicator but this does not render
in event reports. Is this supported? If not, are their plans to support
this functionality. It is quite critical to one of our implementation
projects.

To replicate on the demo server

1) Add a legend set to Average weight (Child Health) program indicator

2) Go to event report

3) Select Average Weight indicator from Child Health -> “No Range Set”

Tried with Apgar Score Data Element and this works. See attached file for
comparison.

Thanks


This affects

Version 2.22 (22016)
Version 2.23 (22905)


--


*Busoye Anifalaje (PhD)*
Director of Services (Principal), BAO Systems
+44 7901-740-757 | bus...@baosystems.com | http://www.baosystems.com |
Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007
___
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] [Bug 1538063] [NEW] Option Set list not available in aggregate data entry

2016-01-26 Thread Adebusoye Anifalaje
Public bug reported:

Hi devs,

Using DHIS 2.22 Version 21782

I created a Zero_Pos_Int option set with 5 options. Labels are text but
the codes are integers. This option set is assigned to data elements of
the same value type. On the data entry screen, the drop down returns 'No
matches found' for any of the options you enter.

To replicate on demo

1) In data entry, select Sierra Leone
2)  Select Facility Assessment data set and any period
3) Under Equipment section, click on dropdown arrow next to option set field
4) No Options shown (should have listed 1 - 5)
5) Type in any number between 1 and 5 (inclusive)

You get 'No matches found'.

I have included a copy of my browser console error log and also a
screenshot of what happens on the UI.

Thanks

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Option Set List Error.png"
   
https://bugs.launchpad.net/bugs/1538063/+attachment/4556765/+files/Option%20Set%20List%20Error.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1538063

Title:
  Option Set list not available in aggregate data entry

Status in DHIS:
  New

Bug description:
  Hi devs,

  Using DHIS 2.22 Version 21782

  I created a Zero_Pos_Int option set with 5 options. Labels are text
  but the codes are integers. This option set is assigned to data
  elements of the same value type. On the data entry screen, the drop
  down returns 'No matches found' for any of the options you enter.

  To replicate on demo

  1) In data entry, select Sierra Leone
  2)  Select Facility Assessment data set and any period
  3) Under Equipment section, click on dropdown arrow next to option set field
  4) No Options shown (should have listed 1 - 5)
  5) Type in any number between 1 and 5 (inclusive)

  You get 'No matches found'.

  I have included a copy of my browser console error log and also a
  screenshot of what happens on the UI.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1538063/+subscriptions

___
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] Documentation on CSV Meta Data Import for Data Elements (DHIS 2.21)

2015-12-08 Thread Adebusoye Anifalaje
Hi devs,

With the change in data element value types, I am having issues importing data 
elements using csv. 

At the moment I am able to import using the following columns:

DE Name, UID, Code, Shortname,  Description, Formname,  domaintype, Unknown, 
Unknown, catcomboUID

I think the option set column after catcomboUID also works. However, can’t set 
valuetypes and aggregator operator. 

Tried on the demo site as well with no joy.

Any chance you could update the documentation to reflect the new required 
columns?

Thanks

Busoye

DHIS 2.21
Build: 20876


  
-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*

___
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] [Bug 1497160] [NEW] Event Report and Visualiser This Week and Last Swapped

2015-09-18 Thread Adebusoye Anifalaje
Public bug reported:

In Event Report and Event Visualiser, when you select This Week you get
last week and when you select Last week you get results for this week.

I have created two examples on the demo site: This Week here:
https://apps.dhis2.org/demo/dhis-web-event-
reports/index.html?id=nk7lFaVCSEK and Last week here:
https://apps.dhis2.org/demo/dhis-web-event-
reports/index.html?id=NpkmZSSJ7Cx

Notice the week number in the column.

DHIS: 2.20

REvision:  19876

Cheers

Busoye

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1497160

Title:
  Event Report and Visualiser This Week and Last Swapped

Status in DHIS:
  New

Bug description:
  In Event Report and Event Visualiser, when you select This Week you
  get last week and when you select Last week you get results for this
  week.

  I have created two examples on the demo site: This Week here:
  https://apps.dhis2.org/demo/dhis-web-event-
  reports/index.html?id=nk7lFaVCSEK and Last week here:
  https://apps.dhis2.org/demo/dhis-web-event-
  reports/index.html?id=NpkmZSSJ7Cx

  Notice the week number in the column.

  DHIS: 2.20

  REvision:  19876

  Cheers

  Busoye

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1497160/+subscriptions

___
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] Indicators or Validations when using Combination of categories on DataSet

2015-09-16 Thread Adebusoye Anifalaje
Hi Rodolfo,

Do you know if there’s been any update on this question? I am particularly 
interesting in creating indicators that combine data elements from different 
data set categories.

Please let me know.

Thanks.

Busoye

> On 31 Mar 2015, at 18:13, Rodolfo Melia  wrote:
> 
> Hi Alex - that will work, but we are looking at using Validation Rules, so 
> they can be used for both, data entry and data import. Also, there are some 
> indicators that I need to calculate that only use as numerator a specific 
> DataValue that belong to one of the DataSetAttributes.
> 
> I may need to reverse the decision of using the Dataset Attributes, and 
> instead do it the classic way: just Data Elements and CatCambos.
> 
> R
> 
> 
> On Tue, Mar 31, 2015 at 2:21 PM, Alex Tumwesigye  > wrote:
> Dear Rodolfo,
> 
> How about using a custom form with some jquery enforcing whatever you need?
> 
> 
> Alex
> 
> On Tue, Mar 31, 2015 at 11:23 AM, Rodolfo Melia  > wrote:
> Continuation of my question: 
> 
> Is it possible to write Indicator/ Validation expressions using a syntax that 
> can refer to the DataSet Attribute, even if the UI doesn't expose it?
> 
> Can I refer to a particular DataValue as [DataElement UID].[CatCombo 
> UID].[DataSetAttribute] ?
> 
> Otherwise I cannot use DataSetAttributes in my design: they are visible on 
> analytics, but there are not exposed on Validations or Indicators, making 
> them difficult (sometimes impossible) to use. 
> 
> R
> 
> Rodolfo Meliá
> Principal  |  rme...@knowming.com 
> Skype: rod.melia  |   <>+44 777 576 4090  |   <>+1 708 872 7636 
> 
> www.knowming.com 
>  <>
> 
> On Mon, Mar 30, 2015 at 5:50 PM, Rodolfo Melia  > wrote:
> When using a combination of Categories on a Data Set - how can I write a 
> validation rule that compares values between the categories used by the 
> DataSet, rather than the total?
> 
> Similarly, how can I define an Indicator that uses for the numerator one 
> Combination of Category of the data set, and then a different one for the 
> denominator?
> 
> In neither case the category combination is exposed on the User Interface: 
> only the DataElements and related CatCombos are exposed. 
> 
> 
> Rodolfo
> 
> 
> ___
> 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 
> 
> 
> 
> 
> 
> -- 
> Alex Tumwesigye
> 
> Technical Advisor - DHIS2 (Consultant),
> Ministry of Health/AFENET
> Kampala
> Uganda
> 
> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
> 
> IT Specialist (Servers, Networks and Security, Health Information Systems - 
> DHIS2 ) & Solar Consultant
> 
> +256 774149 775 <>, + 256 759 800161 <>
> 
> "I don't want to be anything other than what I have been - one tree hill "
> 
> ___
> 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


-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*
___
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] Defect with the Aggregation Query feature?

2015-04-27 Thread Adebusoye Anifalaje
Hi Simanta,

You should try changing the Operator to Number of tracked entities. Visits
are technically for program stages and since you are not registering
programs then you can't have visits.

Try tracked entities and let's know whether it worked.

Cheers.

Busoye



On Monday, April 27, 2015, Simanta Jyoti Handique 
shandi...@thoughtworks.com wrote:

 Hi,

 We have set up an aggregation query with the following details:

 Name: Number of Patients (Measles Outbreak)
 Operator: Number of Visits
 Data set: Geographic Origin
 Data Element: Number of Patients (Measles Outbreak) - Geographic Origin
 (Number)
 Condition: [Measles Outbreak.Measles Outbreak stage.Date of admission] is
 not null

 Measles Outbreak is a Single Event without Registration type program.
 Date of admission is a Data Element of type Date

 We register an event, run the aggregation query and the Number of
 Patients (Measles Outbreak) - Geographic Origin (Number) data element is
 correctly populated with the count of the number of patients. We delete the
 event and re-run the query. The data element for the number of patients
 does not get updated with the value 0.

 Is this a defect with the Aggregation Query feature or is there something
 wrong with the formula we're using?

 Regards,
 Simanta


___
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] Defect with the Aggregation Query feature?

2015-04-27 Thread Adebusoye Anifalaje
Sorry,

Just re read your question. My mistake. To overwrite values with 0, you
have to choose to store zero data values when creating the aggregate data
element.

On Monday, April 27, 2015, Adebusoye Anifalaje bus...@hisp.org wrote:

 Hi Simanta,

 You should try changing the Operator to Number of tracked entities. Visits
 are technically for program stages and since you are not registering
 programs then you can't have visits.

 Try tracked entities and let's know whether it worked.

 Cheers.

 Busoye



 On Monday, April 27, 2015, Simanta Jyoti Handique 
 shandi...@thoughtworks.com
 javascript:_e(%7B%7D,'cvml','shandi...@thoughtworks.com'); wrote:

 Hi,

 We have set up an aggregation query with the following details:

 Name: Number of Patients (Measles Outbreak)
 Operator: Number of Visits
 Data set: Geographic Origin
 Data Element: Number of Patients (Measles Outbreak) - Geographic Origin
 (Number)
 Condition: [Measles Outbreak.Measles Outbreak stage.Date of admission] is
 not null

 Measles Outbreak is a Single Event without Registration type program.
 Date of admission is a Data Element of type Date

 We register an event, run the aggregation query and the Number of
 Patients (Measles Outbreak) - Geographic Origin (Number) data element is
 correctly populated with the count of the number of patients. We delete the
 event and re-run the query. The data element for the number of patients
 does not get updated with the value 0.

 Is this a defect with the Aggregation Query feature or is there something
 wrong with the formula we're using?

 Regards,
 Simanta


___
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] Report generation Error

2015-03-30 Thread Adebusoye Anifalaje
Hi Sumudu,
 
You can try saving the org unit levels. Go to Organisation Unit - Organisation 
unit level and save the levels. Then generate the analytics again. This might 
solve it. 

Best

Busoye


 On 30 Mar 2015, at 08:56, sumudu weerasinghe sumudu...@gmail.com wrote:
 
 Hi All,
 
 We used dhis 2.17 for aggregate data in our hospital. (No tracker ).
 When i try to generate report from , dataset report, data visuializer  and 
 pivot tables , always gives no datavalue found.
 Analytic tables has already generated.
 
 In the log it says -
 
 org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL 
 gram
 mar [select de,monthly, sum(value) as value from analytics_2014 where 
 de i
 n ('TmrNNl3pful') and monthly in ('201412') and ( uidlevel7 in 
 ('s8MjXuFVsDr
 ') ) group by de,monthly]; nested exception is 
 org.postgresql.util.PSQLExcep
 tion: ERROR: column uidlevel7 does not exist
 
 
 
 I have gone through the analytic tables , but there is no column called 
 uidlevel7.
 What is uidlevel7 ?
 Can any one give reason for this error.
 
 I used 
 DHIS2 2.17
 R 17683
 PostgreSQL
 OS - windows 7
 log and screen shot attached here.
 
 reportgeneration error.txtreportgeneration 
 error.PNG___
 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] Google Street Layer - Dashboard

2015-03-23 Thread Adebusoye Anifalaje
Hi Jan,

On a similar note, downloading GIS favourites as PNG or PDF doesn’t include 
symbols used on the map or the google map background. Do you intend to support 
this at some point?

Thanks.

Busoye 

 On 22 Mar 2015, at 19:22, Jan Henrik Øverland janhenrik.overl...@gmail.com 
 wrote:
 
 Hi Dapo,
 
 it is currently fixed, but should definitely follow what is saved in the 
 favorite. Will fix this.
 
 Jan
 
 On Sun, Mar 22, 2015 at 8:11 PM, Dapo Adejumo dapo_adej...@yahoo.com 
 mailto:dapo_adej...@yahoo.com wrote:
 Hi Devs,
 
 Is there a way to use the google street background optionally or is this 
 fixed for all maps on the dashboard?
 
 Thanks
 
  
 
 ………
 
 Regards,
 
 Dapo Adejumo
 
 +2348033683677
 
 Skype : dapojorge
 
  
 
 
 ___
 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] [Bug 1286687] selecting attributes for tracked entity throws exception

2015-03-18 Thread Adebusoye Anifalaje
That’s great.


 On 18 Mar 2015, at 17:50, Jean Paul Mutali mut...@gmail.com wrote:
 
 I Had the same issue,, and after deleting that programattributeid colum it 
 worked fine, 
 I running versin 2.18 but a bit customized with added modules.
 
 -- 
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1286687
 
 Title:
 selecting attributes for tracked entity throws exception
 
 Status in DHIS 2:
 New
 
 Bug description:
 To create a program for tracking villages, I defined 3 attributes:
 Name, Population and Date. Name and Date are mandatory.
 
 In Programs, selected Multiple entry with registration, set enrolment
 date as Registration Date and unchecked show incident date.
 
 When I select the 3 attributes I created and update, this comes up
 with an error. I checked the program-attributes table but this doesn't
 have any records as the programattributesid is not generated for some
 reason. Is there a step I am missing in this new world of
 Trackedentity?
 
 Relevant section of log  pasted below.
 
 Any help most welcome.
 
 Thanks.
 
 Busoye
 
 Version:
 2.15-SNAPSHOT
 Build revision:
 14116
 
 To manage notifications about this bug go to:
 https://bugs.launchpad.net/dhis2/+bug/1286687/+subscriptions

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1286687

Title:
  selecting attributes for tracked entity throws exception

Status in DHIS 2:
  New

Bug description:
  To create a program for tracking villages, I defined 3 attributes:
  Name, Population and Date. Name and Date are mandatory.

  In Programs, selected Multiple entry with registration, set enrolment
  date as Registration Date and unchecked show incident date.

  When I select the 3 attributes I created and update, this comes up
  with an error. I checked the program-attributes table but this doesn't
  have any records as the programattributesid is not generated for some
  reason. Is there a step I am missing in this new world of
  Trackedentity?

  Relevant section of log  pasted below.

  Any help most welcome.

  Thanks.

  Busoye

  Version:
  2.15-SNAPSHOT
  Build revision:
  14116

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1286687/+subscriptions

___
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] SQLViews - External access (without login) checkbox disabled

2015-03-09 Thread Adebusoye Anifalaje
I guess if you created the sqlview then the checkbox should be enabled. Just 
tried from my end and there;s no problem. 


 On 9 Mar 2015, at 11:26, Pierre Dane pie...@jembi.org wrote:
 
 Anyone know how to allow external access to sqlviews without login please? 
 
 
 ___
 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] Version 2.16 vs 2.17 : assign a Dataset from the OU group and that reverberate to organizational units of this group

2015-03-03 Thread Adebusoye Anifalaje
Hi Carlos,

You can still add OU groups to data sets by using the group function when 
assigning the OU. If you click on the data set and select Assign to 
Organisation Unit, you have an option to assign by level or by group. You can 
choose to assign OU groups this way.

Hope that helps.

Regards,
Busoye


 On 3 Mar 2015, at 12:25, Brajesh Murari bramur...@gmail.com wrote:
 
 Hi Carlos,
 
 With an award wining nominated post doctoral multidimensional actor network 
 theory based empirical use case research in Applied Molecular Biological 
 Informatics in association with Applied Meta Nuclear Physics comes with 
 outcome that assigning data set to molecular organization unit group some 
 times comes with very big and fettle data security issue in its vector atomic 
 models design specially when user use to migrate at-least one serialized 
 molecular organization unit from assigned molecular organization unit group 
 with specifically assigned dataset to other remote molecular organization 
 unit group environment by other scheduled static molecular organization units 
 of previously assigned molecular organization unit group with special 
 privileges on memory loading and data integrity checks operations. 
 
 One probable cause should be difference in type of molecular organization 
 unit with difference in type of molecular organization unit group with rare 
 to denser or from denser to rare remote migration environment causing up in 
 inflation 
 in physical deficits in property value assignment.
 
 Other probable cause could be highly reactive previously assigned molecular 
 organization units with molecular organization unit group some times starts 
 playing adversarial and viral role to remotely migrant molecular organization 
 unit specially on its developed uninterrupted power supply to central nervous 
 system causing still dominant role by previously assigned molecular 
 organization unit group.
 
 So, if a subsequent previously assigned molecular organization unit group 
 plays adverse, viral, confusing and influential role to destination molecular 
 organization unit group for a molecule organization unit migration in-spite 
 of getting successful migration without dataset assignment, than why we 
 should assign any dataset to any static experimental molecular organization 
 unit group specially when previously assigned static molecular organization 
 unit group starts playing intentional, dominant and influancial role on 
 migrant dynamic quantum molecular organization unit, more specially when 
 static molecular organization unit group does't have any declarative 
 functionality nor had property of data compression privileges which is by 
 default all the time available in migrant dynamic molecular organization unit 
 ? 
 
 Regards
 Brajesh Murari  
 
 2015-03-02 15:52 GMT+05:30 Carlos Nyembwe nyem...@gmail.com 
 mailto:nyem...@gmail.com:
 Hi Devs
 
 With the vesion inferior at 2.17 DHIS2, we can assign a Dataset from the OU 
 group and that reverberate to organizational units of this group. It was easy 
 in the sense that we imported organization and we were bonding by import 
 units, it was perfect. But now with version 2.17, we do not have the ability 
 to assign a dataset to the OU group rather only to the OU. Now with the 
 ability to import, we still need to assign datasets units manually. What work!
 
 Regards
 
 Carlos
 
 
 Sorry, can you read the french version!
 
 Avec les vesions inferieures à 2.17 de DHIS2, nous avions la possibilité 
 d'assigner un Dataset à partir du groupe d'unité  d'organisation et cela se 
 réperccutait aux unités d'organisation de ce groupe. Cela était facile dans 
 le sens que nous importions des unités d'organisation et nous les groupions 
 par importation, c'était parfait. Mais actuellement, avec la version 2.17, 
 nous n'avons pas la possibilité d'assigner un dataset au groupe d'unité 
 d'organisation plutot seulement à l'unité d'organisation. Or avec la 
 possibilité d'importation, nous devons encore assigner les datasets aux 
 unités manuellement. Quel travail!
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] Rounding Up or down indicator value

2015-02-25 Thread Adebusoye Anifalaje
Hi Joao,

Yes you can. There is an option to select how many decimal places when creating 
an indicator. If you select 0, this should round the values.

Busoye 


 On 25 Feb 2015, at 12:31, Joao Mazuze joao_maz...@chasssmt.com wrote:
 
 Dear all,
 Is it possible to format an indicator value to be rounded up or down in dhis2?
 An hint would be useful.
  
 Kind regards,
 Joao
  
  
 _
 João Gabriel Mazuze
 National Database Manager
 Projecto CHASS-SMT
 Abt Associates Inc.
 Av. Marginal, 4067
 Cidade de Maputo, Moçambique
 Fax: (+ 258)  21486767
 Tel:  (+ 258)  21493525/6/8
 Cell: (+258) 82 4236279
 www.chasssmt.com http://www.chasssmt.com/
  
 image001.jpg
 Somos um projecto financiado  pelo PEPFAR-II, através da USAID, para reforçar 
 o Sistema de Saúde das Provincias de  Sofala, Manica e Tete. Pretendemos 
 melhorar a ligação e integração do HIV  com os Cuidados Primários de Saúde e 
 outros a ele relacionados em coordenação com as Direcções Provinciais de 
 Saúde e outros parceiros. Através do projecto CHASS-SMT, o Governo Americano 
 apoia o Governo Moçambicano na melhoria da qualidade dos Serviços de Saúde no 
 país.
  
 
 
 This message may contain privileged and confidential information intended 
 solely for the addressee. Please do not read, disseminate or copy it unless 
 you are the intended recipient. If this message has been received in error, 
 we kindly ask that you notify the sender immediately by return email and 
 delete all copies of the message from your system. 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] Error Creating An SQL View through DHIS2 Front End

2015-02-16 Thread Adebusoye Anifalaje
HiJason you must be having a long night as you probably meantupdate sqlview set sqlviewid=viewid;CheersBusoyeSent from my Samsung Galaxy smartphone. Original message From: Jason Pickering jason.p.picker...@gmail.com Date:16/02/2015  9:48 pm  (GMT+00:00) To: Arthur Gwatidzo arthu...@hisp.org Cc: dhis2-devs dhis2-devs@lists.launchpad.net Subject: Re: [Dhis2-devs] Error Creating An SQL View through DHIS2 Front End Sorry..send that one too fastHere was the SQL you needupdate sqlview set sqlviewid=viweid;update sqlview set sqlviewid=viweid;Best regards,JasonOn Tue, Feb 17, 2015 at 5:47 AM, Jason Pickering jason.p.picker...@gmail.com wrote:Hi Arthur,Here is the problem.Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "viewid" violates not-null constraint
  Detail: Failing row contains (null, RidpdaReportSQL, a0rnEhRIhG3, null, 2015-02-16 viewid has been renamed to "sqlviewid" but looks like your version of the database was either not upgraded or something else happened. If you have a "sqlviewid" column, it is probably safe to drop the "viewid" column. Otherwise, you should execute On Mon, Feb 16, 2015 at 10:17 PM, Arthur Gwatidzo arthu...@hisp.org wrote:Hi Devs,I am encountering an error when creating an SQL View using the front-end (Data Administration Utility of DHIS2).I tested this query in Postgre SQL and everything is okay.Simple SQL ViewSELECT de.name AS dataelementname,dv.value as Value,dv.comment, ou.uid As OrgUnitUID, ou.name,dv.periodid,pe.startdate,pe.enddateFROM datavalue dv INNER JOIN dataelement deON(dv.dataelementid = de.dataelementid) AND ((de.uid='tATNxcPszv6' OR de.uid='zdShnywRyRP' OR de.uid='p33CeJ0tlE2' OR de.uid='ZEhUXlEjQoY' OR de.uid='Sgfn0Bw3OmZ' OR de.uid='MeHrnx6ypja' OR de.uid='EiHR3DtgJn9' OR de.uid='Xix3M7SHKCf' OR de.uid='Tlv3LImxRoW' OR de.uid='p6GJqwbCXqf'))INNER JOIN organisationunit ouON( dv.sourceid = ou.organisationunitid) INNER JOIN period peON(dv.periodid = pe.periodid) ORDER BY OrgUnitUID;Error in DHIS2 An exception occurredSorry! The system failed to execute the operation. Usually, no data is lost and you can continue working by going back to the previous page.I have attached a snapshot of the tomcat logs.What could be the problemKind Regards,ArthurGwatidzoSoftware Development and Information Systems Health Information Systems Program---Email: arthu...@hisp.orgCell: +27(0)768983930 Skype: Arthur.GwatidzoWeb: http://www.hisp.org66 Rigel Avenue North, Waterkloof RidgePretoria, 0181South AfricaE -25.7847787 S 28.2347984This message may contain privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the view of the entity transmitting the message.___
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
-- Jason P. Pickeringemail: jason.p.picker...@gmail.comtel:+46764147049

-- Jason P. Pickeringemail: jason.p.picker...@gmail.comtel:+46764147049


___
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] Reporting Rate Summary: Cannot report on Future periods

2015-02-16 Thread Adebusoye Anifalaje
Thanks Lars.


Kind regards,

Busoye
……..
Tel: +44 7901 740 757 
Skype: busoye

 On 16 Feb 2015, at 11:56, Lars Helge Øverland larshe...@gmail.com wrote:
 
 Hi Busoye,
 
 made a fix, you can now access future years in reporting rates summary (and 
 future periods within the current year for other period types) in trunk, 2.18 
 and 2.17.
 
 Lars
 
 
 On Mon, Feb 16, 2015 at 12:29 PM, Adebusoye Anifalaje bus...@hisp.org 
 mailto:bus...@hisp.org wrote:
 Hi developers,
 
 We have a use case where we need to calculate the completeness rate for a 
 population data set. This is for a yearly period but entered at the beginning 
 of the year. I have attached a file with screenshots of an example where we 
 need to calculate completeness for 2015 but cannot o beyond 2014. 
 
 I understand that future periods have been implemented in the Pivot Table and 
 DV analysis but these do not provide the same stats are not available in 
 these modules e.g. expected number of reports and timeliness. 
 
 I think bringing the reporting rate summary functionalities into the 
 integrated analysis tools would be ideal. This would include an option to 
 select completeness by compulsory DE. However, for now, what is the best way 
 forward? 
 
 
 Kind regards,
 
 Busoye
 ……..
 Tel: +44 7901 740 757 tel:%2B44%207901%20740%20757 
 Skype: busoye
 
 
 
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] DHIS version 2.18 is released

2015-01-22 Thread Adebusoye Anifalaje
These are excellent features. It's amazing how you keep raising the bar!
Congrats to the team. Now, time to test.

Regards
Busoye


Sent from my Samsung Galaxy smartphone.


 Original message 
From: Lars Helge Øverland larshe...@gmail.com 
Date:22/01/2015  09:34  (GMT+00:00) 
To: DHIS 2 Developers list dhis2-devs@lists.launchpad.net, DHIS 2 Users list 
dhis2-us...@lists.launchpad.net 
Cc:  
Subject: [Dhis2-devs] DHIS version 2.18 is released 

Hi all,

DHIS version 2.18 is out. We have some nice new features for you.


New and interactive dashboard: The dashboard has received a lot of improvements.

Demo (login with admin/district)

- Interactive items: The map items let you zoom in or out and drill down/float 
up between layers. Click on series in charts to hide or show them. Hover over 
maps and charts to see data values and details. 

  Screenshot

- Google maps: The map dashboard items now use Google maps as background layer.

  Screenshot

- Re-size items: You can re-size items and switch between normal, double and 
full width by clicking on the resize link on the item headers.

  Screenshot

- Event reports: You can now include event reports in your dashboard. 

  Screenshot

- Smarter search: Search by words independently to find favorites more easily, 
e.g. “ANC district”.

  Screenshot

- More features: Support for pivots with legend sets, facility map layers and 
radius for map points.

  Screenshot

- Better looks: The dashboard items are rendered using the pivot table, data 
visualizer and GIS components which give a better visual appearance.


Simpler configuration and loading of apps: Apps are now loaded by default 
through the Web API without any need for configuration. The benefit is that you 
can upgrade your DHIS 2 version without affecting already installed apps. The 
app configuration can be set through the apps Web API resource.

Screenshot | Docs


Managed users: A new “managed users” concept for user management has been 
introduced. This allows you to explicitly define which users are allowed to 
modify which users. This is done by defining users groups to manage other user 
groups through the standard user interface. To enable this you should grant 
users the authority to Add/update users within managed groups instead of the 
normal “Add/update users”.

Screenshot | Docs


Replication of users: New feature for creating an identical copy of a user, 
with a new username and password. Replicating accounts is useful when working 
with support requests related to access control. Select a user in from the user 
list, select replicate and enter new credentials.

Screenshot | Docs | Demo


Tracker enrollment history: In tracker capture dashboard you can now list 
historical enrollments by clicking on “History” and view captured data for each 
of them. Notes can be added to historical events.

Screenshot | Demo


Easy enrollment for relatives: A program can be configured to present shortcuts 
for relatives, which now can be easily enrolled into a specified program. As an 
example, for a “mother and child” program you can now specify that the child 
should be added into a “immunization” program. This will make the 
immunization pre-selected in relationship dialog.

Screenshot


Favorite names in dialogs: In all analysis apps you can see the name of the 
current favorite in the header of the favorite and share dialogs. This makes it 
simpler to see which favorite you are working on e.g. when updating favorites.

Screenshot | Demo


CORS support: DHIS 2 now supports Cross-origin resource sharing (CORS), which 
is a mechanism that allows resources to be requested from another domain. This 
means most notably that you can make requests to the DHIS 2 Web API from a web 
page or portal living on another domain than the DHIS 2 instance. The domains 
which should be allowed access must be defined under system settings  remote 
access.

Docs | Screenshot


See apps authorities: We have added authorities for seeing apps so that you can 
control per user roles who should be allowed to access which apps from the top 
menu.

Screenshot


Clear local storage app: A new app has been added for clearing the application 
storage, which is the area where DHIS 2 stores data locally in the web browser. 
This is sometimes tricky to clear and web browsers have different menu layout 
for doing it, so an app is useful e.g. when doing user support.

Screenshot | Demo


Attributes for program: Dynamic meta-data attributes can now be defined for 
programs from data administration  attributes.

Screenshot | Demo


Remove expired invitations: A new maintenance function has been added under 
data administration  maintenance for deleting users which represent user 
account invitations which now have expired. This is useful when you send out a 
lot of user invitations and need to clean up after some time.

Docs | Demo


Infrastructural indicator data in GIS: You can configure an indicator group as 

[Dhis2-devs] Import Dry Run - Misleading results

2015-01-20 Thread Adebusoye Anifalaje
Hi devs,

Using version 2.17 (build 17708) it seems like even if data values will be 
imported, the Dry Run reports that these values will be “Ignored”. If you then 
run the import ,the values are actually imported. Is this new behaviour from 
2.17?




___
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] Authority missing for See Data Element/Indicators App

2015-01-07 Thread Adebusoye Anifalaje
Hi Devs,

There is currently no authority to allow a user to see the Data Element app. 
Similar to See Data Entry Module, we need to assign authorities to user roles 
which allow them to see the Data Element/Indicator app and then to list data 
elements but not edit them. It would be so much easier to assign this as an 
authority to a user role rather than use the sharing function.

Is there a reason why this is not included or am I missing it somewhere?

Regards,
Busoye
___
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] Authority missing for See Data Element/Indicators App

2015-01-07 Thread Adebusoye Anifalaje
Addendum: I checked on the Demo instance and 

Version: 2.17
Build revision:17673

Regards,
Busoye


 On 7 Jan 2015, at 14:11, Adebusoye Anifalaje bus...@hisp.org wrote:
 
 Hi Devs,
 
 There is currently no authority to allow a user to see the Data Element app. 
 Similar to See Data Entry Module, we need to assign authorities to user roles 
 which allow them to see the Data Element/Indicator app and then to list data 
 elements but not edit them. It would be so much easier to assign this as an 
 authority to a user role rather than use the sharing function.
 
 Is there a reason why this is not included or am I missing it somewhere?
 
 Regards,
 Busoye
 ___
 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] Authority missing for See Data Element/Indicators App

2015-01-07 Thread Adebusoye Anifalaje
Thank you Lars.


Busoye

 On 7 Jan 2015, at 14:29, Lars Helge Øverland larshe...@gmail.com wrote:
 
 Hi Busoye,
 
 its actually See data dictionary module. I will rename this in the UI. You 
 can use it for now.
 
 regards,
 
 Lars
 
 
 On Wed, Jan 7, 2015 at 8:19 PM, Adebusoye Anifalaje bus...@hisp.org 
 mailto:bus...@hisp.org wrote:
 Addendum: I checked on the Demo instance and 
 
 Version: 2.17
 Build revision:17673
 
 Regards,
 Busoye
 
 
 On 7 Jan 2015, at 14:11, Adebusoye Anifalaje bus...@hisp.org 
 mailto:bus...@hisp.org wrote:
 
 Hi Devs,
 
 There is currently no authority to allow a user to see the Data Element app. 
 Similar to See Data Entry Module, we need to assign authorities to user 
 roles which allow them to see the Data Element/Indicator app and then to 
 list data elements but not edit them. It would be so much easier to assign 
 this as an authority to a user role rather than use the sharing function.
 
 Is there a reason why this is not included or am I missing it somewhere?
 
 Regards,
 Busoye
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 https://help.launchpad.net/ListHelp
 
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] Org Unit Groups

2014-12-15 Thread Adebusoye Anifalaje
Hi devs,

Has the rules changed on org units groups in multiple groups? I have org units 
groups in multiple group sets. None of the org units violate exclusive groups 
set. However I see that is is no longer possible to have org units available 
after they have been assigned to org unit groups sets. Is this a new direction? 
This means we have to duplicate ou groups to use them in more than one group 
set.

Can anyone clarify?

Thanks

Busoye

Version:
2.17
Build revision:
17642___
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] Org Unit Groups not allowed in Multiple Group Sets

2014-12-15 Thread Adebusoye Anifalaje
Sorry that email was sent mistakenly before it was ready:

Problem is this:

- It used to be possible to reuse org unit groups and assign them to multiple 
group sets as long as this does not violate the exclusive org unit groups set 
rule.

- Now from 2.17, it seems that a one-to-one relationship is now being enforced.

Can anyone confirm this is the case?

Thanks

Busoye

 On 15 Dec 2014, at 18:54, Adebusoye Anifalaje bus...@hisp.org wrote:
 
 Hi devs,
 
 Has the rules changed on org units groups in multiple groups? I have org 
 units groups in multiple group sets. None of the org units violate exclusive 
 groups set. However I see that is is no longer possible to have org units 
 available after they have been assigned to org unit groups sets. Is this a 
 new direction? This means we have to duplicate ou groups to use them in more 
 than one group set.
 
 Can anyone clarify?
 
 Thanks
 
 Busoye
 
 Version:
 2.17
 Build revision:
 17642
 ___
 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] [Bug 1402276] [NEW] Radio buttons don't work on Programme Attributes

2014-12-13 Thread Adebusoye Anifalaje
Public bug reported:

To reproduce this problem on demo

1) Go to Child Programme and Edit
2) Select Radio button for Data entry method for option sets  
3)Go to Tracker Capture App and select Ngelehun CHC - Child Programme
4) Click on Register
5) Observe that Gender option set attribute does not render

I also understood that in programme stages, if you have radio buttons
this would automatically default to a drop down if the list is more than
'n'. At the moment this doesn't seem to work that way. It just doesn't
render at all.

2.17
Build revision:
17642

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: Radio button error with Attribute Option Sets.png
   
https://bugs.launchpad.net/bugs/1402276/+attachment/4280500/+files/Radio%20button%20error%20with%20Attribute%20Option%20Sets.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1402276

Title:
  Radio buttons don't work on Programme Attributes

Status in DHIS 2:
  New

Bug description:
  To reproduce this problem on demo

  1) Go to Child Programme and Edit
  2) Select Radio button for Data entry method for option sets  
  3)Go to Tracker Capture App and select Ngelehun CHC - Child Programme
  4) Click on Register
  5) Observe that Gender option set attribute does not render

  I also understood that in programme stages, if you have radio buttons
  this would automatically default to a drop down if the list is more
  than 'n'. At the moment this doesn't seem to work that way. It just
  doesn't render at all.

  2.17
  Build revision:
  17642

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1402276/+subscriptions

___
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] [Bug 1402279] [NEW] Program Stage Sections not working in Tracker Capture

2014-12-13 Thread Adebusoye Anifalaje
Public bug reported:

Program stage sections do not seem to be woking in Tracker Capture. When
I check using Individual Records it's there. Hope this isn't being
scrapped.

Thanks

Busoye

Version:
2.17
Build revision:
17642

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1402279

Title:
  Program Stage Sections not working in Tracker Capture

Status in DHIS 2:
  New

Bug description:
  Program stage sections do not seem to be woking in Tracker Capture.
  When I check using Individual Records it's there. Hope this isn't
  being scrapped.

  Thanks

  Busoye

  Version:
  2.17
  Build revision:
  17642

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1402279/+subscriptions

___
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] [Bug 1402278] [NEW] Attribute Groups not working with Tracker Capture

2014-12-13 Thread Adebusoye Anifalaje
Public bug reported:

With individual records, Attribute Groups created sections when
enrolling an entity. InTracker Capture, this does not work at all. Two
screenshots attached to illustrate.


Thanks.

Regards,

Busoye

 Version:
2.17
Build revision:
17642

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: Attribute Groups in Tracker Capture and Individual 
Records.docx
   
https://bugs.launchpad.net/bugs/1402278/+attachment/4280501/+files/Attribute%20Groups%20in%20Tracker%20Capture%20and%20Individual%20Records.docx

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1402278

Title:
  Attribute Groups not working with Tracker Capture

Status in DHIS 2:
  New

Bug description:
  With individual records, Attribute Groups created sections when
  enrolling an entity. InTracker Capture, this does not work at all. Two
  screenshots attached to illustrate.

  
  Thanks.

  Regards,

  Busoye

   Version:
  2.17
  Build revision:
  17642

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1402278/+subscriptions

___
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] Problem with manual aggregation

2014-12-04 Thread Adebusoye Anifalaje
Hi devs,

I am also having the same problem when I run manual aggregation. However 
automated aggregation works but only goes back last 12 months, so still need 
manual aggregation.

I don’t see anything in the log for the manual aggregation but my browser 
console is similar to Elmarie’s if not the same.

Would be great to have some input on what might be wrong.

Thanks.

Best regards,

Busoye
 
 On 4 Dec 2014, at 11:56, Elmarie Claasen elma...@hisp.org wrote:
 
 Hi devs
  
 We are having a problem running manual aggregation – nothing shows in the 
 Tomcat log but this is the results of the browser console.
  
  
 POST 
 http://npr.dhis.hisp.org/staging/dhis-web-caseentry/caseAggregationResult.action
  
 http://npr.dhis.hisp.org/staging/dhis-web-caseentry/caseAggregationResult.action
  504 (Gateway Time-out)jquery.min.js?_rev=__dev__:2 
 sendjquery.min.js?_rev=__dev__:2 p.extend.ajaxjquery.min.js?_rev=__dev__:2 
 p.fn.loadcaseagg.js?_rev=__dev__:59 runAggregatecaseagg.js?_rev=__dev__:44 
 caseAggregationResultcaseagg.js?_rev=__dev__:12 
 validationCaseAggregationCompletedjquery.min.js?_rev=__dev__:2 
 kjquery.min.js?_rev=__dev__:2 l.fireWithjquery.min.js?_rev=__dev__:2 
 yjquery.min.js?_rev=__dev__:2 d
  
 The messages says aggregated successfully but no values are actually posted 
 to datavalues table. 
  
 We have been running automatic aggregation for last 3 months now for 45 mins 
 and still running. No message in Tomcat log. The browser console gives this:
  
 VM498 extensions::messaging:70 Uncaught Error: Attempting to use a 
 disconnected port objectVM498 extensions::messaging:70 
 PortImpl.postMessageextensions::SafeBuiltins:19 target.(anonymous 
 function)VM495 extensions::utils:94 publicClass.(anonymous 
 function)page-state-tracker.js:1 b
  
 Version:
 2.17
 Build revision:
 Build date:
 2014-12-02 06:37
  
  
 Regards,
  
 Elmarie Claasen
 image001.png
 Project Manager
 Health Information Systems Programme
 Tel:  041-367 1027
 Cell: 082 374 2209
 E-mail: elma...@hisp.org mailto:elma...@hisp.org
 Skype:  elmarie.claasen52 
  
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] Problem with manual aggregation - Problem Solved

2014-12-04 Thread Adebusoye Anifalaje
Hi devs,

Found that the problem was a value type mismatch between the tracker value and 
the aggregate DE.

Problem solved.

Regards,
Busoye

 
 On 4 Dec 2014, at 13:43, Adebusoye Anifalaje bus...@hisp.org wrote:
 
 Hi devs,
 
 I am also having the same problem when I run manual aggregation. However 
 automated aggregation works but only goes back last 12 months, so still need 
 manual aggregation.
 
 I don’t see anything in the log for the manual aggregation but my browser 
 console is similar to Elmarie’s if not the same.
 
 Would be great to have some input on what might be wrong.
 
 Thanks.
 
 Best regards,
 
 Busoye
  
 On 4 Dec 2014, at 11:56, Elmarie Claasen elma...@hisp.org 
 mailto:elma...@hisp.org wrote:
 
 Hi devs
  
 We are having a problem running manual aggregation – nothing shows in the 
 Tomcat log but this is the results of the browser console.
  
  
 POST 
 http://npr.dhis.hisp.org/staging/dhis-web-caseentry/caseAggregationResult.action
  
 http://npr.dhis.hisp.org/staging/dhis-web-caseentry/caseAggregationResult.action
  504 (Gateway Time-out)jquery.min.js?_rev=__dev__:2 
 sendjquery.min.js?_rev=__dev__:2 p.extend.ajaxjquery.min.js?_rev=__dev__:2 
 p.fn.loadcaseagg.js?_rev=__dev__:59 runAggregatecaseagg.js?_rev=__dev__:44 
 caseAggregationResultcaseagg.js?_rev=__dev__:12 
 validationCaseAggregationCompletedjquery.min.js?_rev=__dev__:2 
 kjquery.min.js?_rev=__dev__:2 l.fireWithjquery.min.js?_rev=__dev__:2 
 yjquery.min.js?_rev=__dev__:2 d
  
 The messages says aggregated successfully but no values are actually posted 
 to datavalues table. 
  
 We have been running automatic aggregation for last 3 months now for 45 mins 
 and still running. No message in Tomcat log. The browser console gives this:
  
 VM498 extensions::messaging:70 Uncaught Error: Attempting to use a 
 disconnected port objectVM498 extensions::messaging:70 
 PortImpl.postMessageextensions::SafeBuiltins:19 target.(anonymous 
 function)VM495 extensions::utils:94 publicClass.(anonymous 
 function)page-state-tracker.js:1 b
  
 Version:
 2.17
 Build revision:
 Build date:
 2014-12-02 06:37
  
  
 Regards,
  
 Elmarie Claasen
 image001.png
 Project Manager
 Health Information Systems Programme
 Tel:  041-367 1027
 Cell: 082 374 2209
 E-mail: elma...@hisp.org mailto:elma...@hisp.org
 Skype:  elmarie.claasen52 
  
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 https://help.launchpad.net/ListHelp
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] Category combination set to default won't let me change it

2014-12-03 Thread Adebusoye Anifalaje
Hi Anne,

Your Domain Type is Tracker and this is not yet supported. You can only have 
Category Combinations in Aggregate.

best regards,

Busoye
 
  
 On 27 Nov 2014, at 10:37, Anne Grace missannegr...@gmail.com 
 mailto:missannegr...@gmail.com wrote:
 
 
 
 Dear All,
 
 I hope you are well.
 
 I am trying to edit a category combination that is set to default…I would 
 like to add a new combination.
 attached is the screenshot.
 
 Thanks,
 
 Anne-grace 
 Screen Shot 2014-11-27 at 11.30.12.png
 On 25 Nov 2014, at 13:28, Abyot Gizaw aby...@gmail.com 
 mailto:aby...@gmail.com wrote:
 
 I see... are you sure any of the data elements listed there are of type 
 date? When defining data elements there is an option to specify value type.
 -
 Thank you,
 Abyot.
 
 (sent from mobile)
 
 On Nov 25, 2014 12:20 PM, Anne Grace missannegr...@gmail.com 
 mailto:missannegr...@gmail.com wrote:
 Dear Abyot,
 
 Thanks for your prompt answer,
 unfortunately i don't have access to date in future,see attached picture.
 Screen Shot 2014-11-25 at 13.05.04.png
 On 25 Nov 2014, at 12:00, Abyot Gizaw aby...@gmail.com 
 mailto:aby...@gmail.com wrote:
 
 Hi,
 
 To enable capturing of future dates, go to your Program -- View program 
 stages -- Edit then check Date in future for those data elements you 
 wanted to capture future date.
 
 I am not sure what you mean by to be able to edit some fields names ? 
 
 If you are in default form, field name is data element Form name (if 
 you have set this one) or Name and it is always possible to edit this. 
 If you are in custom form, you can put whatever name you want in your 
 form - both data element Form name and Name have no effect.
 
 
 ---
 Thank you,
 Abyot.
 
 On Tue, Nov 25, 2014 at 10:43 AM, Anne Grace missannegr...@gmail.com 
 mailto:missannegr...@gmail.com wrote:
 Dear Admin,
 
 I am a new devoloper in DHIS.
 I need to make changes on an existing new event form I need to allow
 future dates and years also to be able to edit some fields names .
 
 Please help me out and guide me through.
 
 Thanks
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 https://help.launchpad.net/ListHelp
 
 
 
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] Tracker Capture: Program Relationship Errors

2014-11-28 Thread Adebusoye Anifalaje
Hi devs,

Working with program relationships in the Tracker Capture. A few problems I 
noticed:

1) Even though a relationship type is defined, this is not reflected when you 
open Tracker Capture program stage. In Individual Records you are able to see 
the Shortcut description from the program stage instance e.g. Add Child. This 
is not available in the Tracker Capture although if you clicked on Add 
Relationship you then see the options.



2) After selecting the new program to add, the registration/enrolment date 
(i.e. 1st Post Certification Date) is not in date format





3) When you click on Save Relationship, nothing happens even though the 
relationship is actually saved!

Regards,

Busoye

Version:
2.17
Build revision:
17568



___
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] Exception with Meta Data Export for Programs

2014-11-28 Thread Adebusoye Anifalaje
Hi devs,

I got an exception, trying to export Programs. The error log is below. Just in 
case it’s important, my programs have relationships.

Regards,
Busoye

Version:
2.17
Build revision:
17568



type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion 
(StackOverflowError) (through reference chain: 

Re: [Dhis2-devs] Tracker Capture: Program Relationship Errors

2014-11-28 Thread Adebusoye Anifalaje
Hi Abyot,

Thanks for replying. 

When you click Save Relationship, nothing happens. You have to click “Close” 
for the dialog window to close.

Do you have a scheduled release for including indicators in the Tracker Capture?

Cheers.

Busoye
 
 
 On 28 Nov 2014, at 13:42, Abyot Gizaw aby...@gmail.com wrote:
 
 Hi Busoye,
 
 Thanks for reporting. I know the issue with 1 - will display the label 
 defined under program setting. 2 should be a bug, will take a close look and 
 fix. 
 
 I am not sure about 3. The idea is when you click Save Relationship, the 
 dialog (the one you have been specifying relationship details) should close. 
 And the new relationship you just added listed in the Relationships widget. 
 Are you saying, you are seeing a different behavior?
 
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Nov 28, 2014 at 10:10 AM, Adebusoye Anifalaje bus...@hisp.org 
 mailto:bus...@hisp.org wrote:
 Hi devs,
 
 Working with program relationships in the Tracker Capture. A few problems I 
 noticed:
 
 1) Even though a relationship type is defined, this is not reflected when you 
 open Tracker Capture program stage. In Individual Records you are able to see 
 the Shortcut description from the program stage instance e.g. Add Child. This 
 is not available in the Tracker Capture although if you clicked on Add 
 Relationship you then see the options.
 
 Relationship Exists.png
 
 2) After selecting the new program to add, the registration/enrolment date 
 (i.e. 1st Post Certification Date) is not in date format
 
 Enrolment Date not in date format.png
 
 
 
 3) When you click on Save Relationship, nothing happens even though the 
 relationship is actually saved!
 
 Regards,
 
 Busoye
 
 Version:
 2.17
 Build revision:
 17568
 
 
 
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] Tracker Capture: Program Relationship Errors

2014-11-28 Thread Adebusoye Anifalaje
This is the error I get from the console when I clock on Save Relationship:

 PUT 
https://www.ecole-village-assainis-bdd.cd/api/trackedEntityInstances/HaHEl4iTYw8
 500 (Internal Server Error)angular.js:8113 (anonymous function)angular.js:7915 
sendReqangular.js:7655 serverRequestangular.js:11046 
wrappedCallbackangular.js:11046 wrappedCallbackangular.js:11132 (anonymous 
function)angular.js:12075 Scope.$evalangular.js:11903 
Scope.$digestangular.js:12179 Scope.$applyangular.js:18228 (anonymous 
function)jquery.min.js:2 p.event.dispatchjquery.min.js:2 g.handle.h

Just to let you know, I don’t get error #2 in 2.16. 


 On 28 Nov 2014, at 14:45, Abyot Gizaw aby...@gmail.com wrote:
 
 
 On Fri, Nov 28, 2014 at 2:35 PM, Adebusoye Anifalaje bus...@hisp.org 
 mailto:bus...@hisp.org wrote:
 Hi Abyot,
 
 Thanks for replying. 
 
 When you click Save Relationship, nothing happens. You have to click “Close” 
 for the dialog window to close.
 
 Hmm... the save button should close the dialog. There must be something in 
 log (either console or network tab). Did this thing happened while trying to 
 enroll the relative also? What happened if you try to register a relative 
 without enrollment? The enrollment might fail because of the bug you 
 mentioned in 2. I am looking at it right now.
  
 
 Do you have a scheduled release for including indicators in the Tracker 
 Capture?
 
 May be the next release (2.18), definitely not to be back-ported to 2.17.
  
 
 Cheers.
 
 Busoye
  
  
 On 28 Nov 2014, at 13:42, Abyot Gizaw aby...@gmail.com 
 mailto:aby...@gmail.com wrote:
 
 Hi Busoye,
 
 Thanks for reporting. I know the issue with 1 - will display the label 
 defined under program setting. 2 should be a bug, will take a close look and 
 fix. 
 
 I am not sure about 3. The idea is when you click Save Relationship, the 
 dialog (the one you have been specifying relationship details) should close. 
 And the new relationship you just added listed in the Relationships 
 widget. Are you saying, you are seeing a different behavior?
 
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Nov 28, 2014 at 10:10 AM, Adebusoye Anifalaje bus...@hisp.org 
 mailto:bus...@hisp.org wrote:
 Hi devs,
 
 Working with program relationships in the Tracker Capture. A few problems I 
 noticed:
 
 1) Even though a relationship type is defined, this is not reflected when 
 you open Tracker Capture program stage. In Individual Records you are able 
 to see the Shortcut description from the program stage instance e.g. Add 
 Child. This is not available in the Tracker Capture although if you clicked 
 on Add Relationship you then see the options.
 
 Relationship Exists.png
 
 2) After selecting the new program to add, the registration/enrolment date 
 (i.e. 1st Post Certification Date) is not in date format
 
 Enrolment Date not in date format.png
 
 
 
 3) When you click on Save Relationship, nothing happens even though the 
 relationship is actually saved!
 
 Regards,
 
 Busoye
 
 Version:
 2.17
 Build revision:
 17568
 
 
 
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net 
 mailto:dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs 
 https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp 
 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] Tracker Capture: Program/Program Stage Indicators

2014-11-27 Thread Adebusoye Anifalaje
Hi devs,

I can’t see where program indicators are implemented in the new Tracker Capture 
app. It was great to see that the indicators can now be assigned to a 
particular program stage but when I tested this on the demo I couldn’t see my 
indicator. 



Best regards,

Busoye
___
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] Error: Editing Aggregate Query

2014-11-25 Thread Adebusoye Anifalaje
Hi devs,

After creating a number of aggregate queries, I get an error in my log when I 
try to edit. 


Error details below:


* ERROR 2014-11-25 09:29:23,015 #parse(): syntax error in #parse()-ed template 
'/dhis-web-maintenance-program/updateCaseAggregation.vm', called at /ma
in.vm[line 153, column 9] (Log4JLogChute.java [http-apr-8080-exec-2])
* ERROR 2014-11-25 09:29:23,015 Unable to render Velocity Template, '/main.vm' 
(CommonsLogger.java [http-apr-8080-exec-2])
org.apache.velocity.exception.ParseErrorException: Encountered )\/td\r\n   
 /tr\r\n\r\ntr\r\n\t\ttdlabel for=\dataSets\ at /dh
is-web-maintenance-program/updateCaseAggregation.vm[line 27, column 101]
Was expecting one of:
[ ...
, ...
) ...
WHITESPACE ...


Any ideas what might be causing this?

Thanks.

Busoye

Version:
2.17
Build revision:
17561

___
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] Option to Delete Program Instance from Tracker Capture App

2014-11-25 Thread Adebusoye Anifalaje
Hi devs,

I can’t see any option to delete a program instance from the Tracker Capture 
app. In Individual records, you had this option after listing the program 
instance. However, with the Tracker Capture app I can’t see the equivalent. As 
a temporary measure, I have been finding the instance in Individual records to 
delete.

Any pointers?

Thanks.

Busoye


___
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] CSV Import Missing - DHIS 2.17 (and 2.18 TRUNK)

2014-11-20 Thread Adebusoye Anifalaje
Hi Devs,

We’ve lost csv meta data and data import. This is also on the demo. Is this 
just a temporary blip?

Regards,
Busoye


___
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] CSV Import Missing - DHIS 2.17 (and 2.18 TRUNK)

2014-11-20 Thread Adebusoye Anifalaje
Hi,

Sorry for this email. I found that this has been included in a drop down menu. 
False alarm, sorry.

Regards,

Busoye


 On 20 Nov 2014, at 18:10, Adebusoye Anifalaje bus...@hisp.org wrote:
 
 Hi Devs,
 
 We’ve lost csv meta data and data import. This is also on the demo. Is this 
 just a temporary blip?
 
 Regards,
 Busoye
 
 
 ___
 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] Completeness and timeliness

2014-11-19 Thread Adebusoye Anifalaje
Hi,

I also got the same request to have completeness by expected and actual on the 
dashboard. This would be easy if the options are available in PT/DDV/GIS.

Busoye


 On 19 Nov 2014, at 14:02, Olav Poppe olav.po...@me.com wrote:
 
 Hi, 
 I have a few suggestions on analysis of completeness/timeliness. I think some 
 of it has perhaps been discussed before:
 
 - it would be good to have timeliness as well as completeness available in 
 analytics
 - would also be good if it was possible to get the number of expected/actual 
 reports (including on time). Even if it was not available in PT/DV/GIS but 
 just through the API. (Please correct me if it is possible - I assume actual 
 is not too difficult to get from completedatasetregistrarion, but I've not 
 seen a straightforward way of getting expected).
 - and I got a new request today, for having the possibility of doing sort of 
 a total completeness, so ALL actual reports over ALL expected for an 
 orgunit. Useful for example to get an overview/comparison of completeness in 
 all districts in a country (what they did now was to run reporting rate 
 summary for every district manually, which is quite a lot of work...). Even 
 better if you could combine arbitrary sets perhaps. Say you have two monthly 
 malaria datasets and would like actual/expected for the two together for 
 example.
 
 
 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


Re: [Dhis2-devs] re-sinding user account invitations

2014-10-24 Thread Adebusoye Anifalaje
Hi JM,I had a similar requirement a few weeks back. Pierre from Jembi helped with python scripting to convert all the user invites in csv to Json. It was then relatively easy to have multiple invites sent out in one command.If it helps, I have attached the script below and copied Pierre. He had mentioned working on this as a contribution to the community.Best regards,Busoyeimport requests
import json
import csv

resp = ''
with open('invites.csv') as csvfile:
	invitereader=csv.reader(csvfile, delimiter=',')
	for row in invitereader:
		resp= '{email: '+row[0]+',organisationUnits: [{id: '+row[1]+' }],userCredentials: {username: '+row[3]+'},groups: [{id: '+row[2]+' }]},'
		print resp
		url = 'http://train.dhis.hisp.org/unisa/api/users/invite'
		headers = {'content-type': 'application/json'}
		response = requests.post(url, data=resp, auth=('admin', 'district'),headers=headers)
		print response
On 24 Oct 2014, at 16:01, Jim Grace jimgr...@gmail.com wrote:Hi JM,Both your questions sound like good ideas to me, but unfortunately neither is supported in the current software.Cheers,JimOn Fri, Oct 24, 2014 at 8:52 AM, Juan Manuel Alcantara Acosta jmalcanta...@gmail.com wrote:Hello Devs

I recently had create 250+ user account invitations and I had some problems along the way. Some users got codes that were rejected by the system, I didn't find a reason for that but it happened to just a few users. Others just couldn't find the emails for multiple reasons and asked to resend them. So, I have a couple of questions:

- Is there a way to re-send the emails perhaps with a new code? Of course other than deleting the invitations and creating them again. I imagine I'll have to do this at least a couple of times to get every user to activate their accounts and I'd like to avoid having to manually delete 200+ accounts every time I have to renew the invitations.

- Is it possible to create multiple invitations with a single payload?

Best regards,
JM
___
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-devsPost to : dhis2-devs@lists.launchpad.netUnsubscribe : https://launchpad.net/~dhis2-devsMore 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] [Bug 1328273] Re: Executing analytics table fails: Process failed: Exception during execution

2014-10-13 Thread Adebusoye Anifalaje
Hi Simon,

Did you get a solution to this problem?

If yes, could you please share?

Regards,
Busoye

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1328273

Title:
  Executing analytics table fails: Process failed: Exception during
  execution

Status in DHIS 2:
  New

Bug description:
  In version 2.14, I am running tracker. When I try executing analytics table, 
I get the following error:
  'Process failed. Exeception during execution'.

  
  Here is an extraction from the last lines in catalina.out that could help in 
error identification:

  patientidentifier where patientid=pi.patientid and 
patientidentifiertypeid=71) as iEoIwcIBRFB,(select identifier from 
patientidentifier where patientid=pi.patientid and patientidentifiertypeid=71) 
as iEoIwcIBRFB,(select identifier from patientidentifier where 
patientid=pi.patientid and patientidentifiertypeid=71) as 
iEoIwcIBRFB,psi.uid,ps.uid,psi.executiondate,psi.longitude,psi.latitude,ou.uid,ou.name,ou.code
 from programstageinstance psi left join programinstance pi on 
psi.programinstanceid=pi.programinstanceid left join programstage ps on 
psi.programstageid=ps.programstageid left join program pr on 
pi.programid=pr.programid left join patient pa on pi.patientid=pa.patientid 
left join organisationunit ou on psi.organisationunitid=ou.organisationunitid 
left join _orgunitstructure ous on 
psi.organisationunitid=ous.organisationunitid left join _dateperiodstructure 
dps on psi.executiondate=dps.dateperiod where psi.executiondate = '2011-01-01' 
and psi.executiondate = '2011-12-31
 ' and pr.programid=68 and psi.organisationunitid is not null and 
psi.executiondate is not null]; nested exception is 
org.postgresql.util.PSQLException: ERROR: relation 
analytics_event_temp_2011_q3p6c4bgq7o does not exist
Position: 13
at 
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:237)
at 
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at 
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:407)
at 
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:428)
at 
org.hisp.dhis.analytics.table.JdbcEventAnalyticsTableManager.populateTableAsync(JdbcEventAnalyticsTableManager.java:178)
at sun.reflect.GeneratedMethodAccessor1602.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:95)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
... 1 more
  Caused by: org.postgresql.util.PSQLException: ERROR: relation 
analytics_event_temp_2011_q3p6c4bgq7o does not exist
Position: 13
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:560)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:395)
at 
com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:1006)
at 
org.springframework.jdbc.core.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:421)
at 
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:396)
... 12 more

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1328273/+subscriptions

___
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] dhis2 system administration list

2014-10-09 Thread Adebusoye Anifalaje
Excellent idea Bob.

Busoye

On 9 Oct 2014, at 10:21, Muhire Andrew muhireand...@yahoo.com wrote:

 Brilliant idea,
 
 I support the Idea.
 
 
 Better Information, better Decisions, better Health
 
  MUHIRE Andrew
  Head  of  HMIS / Ministry of Health
 A mind/brain is a terrible thing to waste
 --
  ** Cell:(+250)788436150** 
 *** Twitter :muhire_andrew***
  skype:muhire_andrew
 link to HMIS system: https://hmis.moh.gov.rw/hmis
 
 
 On Wednesday, October 8, 2014 11:30 PM, Bob Jolliffe bobjolli...@gmail.com 
 wrote:
 
 
 Hi all
 
 Steven Uggowitzer recently raised the idea with me to create a system 
 administrators list.  Aimed at backend sort of things relating to the 
 operating system, security, database tuning, dhis2-tools, virtual machine 
 images etc.
 
 Those geeky sort of things which are not about java development or about 
 users as such, but all the stuff that needs to happen in between.
 
 I said I'd run it by our extended community and try and gauge interest.  
 Please reply in this thread if you think its a good idea (or not).  If there 
 is sufficient interest we can look at setting up.
 
 Cheers
 Bob
 
 ___
 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
 
 
 ___
 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] DHIS2 - Averaging over orgunits

2014-09-24 Thread Adebusoye Anifalaje
Hi Bob,

I do not suppose you could use this statement in the sqlview since that’s 
limited to Select statements. I recall Jason mentioned that the only way they 
are able to manage a WASH Program needing just the last current value is to 
dump the data and post updates though the web api. This seems to be way too 
much maintenance and would be better if one could use an sql statement like 
yours instead.

Thanks

Regards,
Busoye
On 24 Sep 2014, at 10:16, Bob Jolliffe bobjolli...@gmail.com wrote:

 For what its worth the following is the sql I used to extract the latest 
 value of a population dataelement.  I am sure it could be generalized and 
 maybe implemented as a getLastValue method on a dataelement.
 
  ---
 -- function returns most recent population estimate (and year) for
 -- an orgunitid
 ---
 CREATE OR REPLACE FUNCTION getLatestPopulation(orgunitid int, out value, out 
 year)
 AS $$
 BEGIN
   SELECT DISTINCT ON (sourceid)
 value as population,
 extract(year from startdate)
   INTO
 value, year
   FROM datavalue
 join period on period.periodid=datavalue.periodid
 join organisationunit on 
 organisationunit.organisationunitid=datavalue.sourceid
 join dataelement on dataelement.dataelementid=datavalue.dataelementid
   WHERE
 organisationunit.organisationunitid = orgunitid AND
 -- better to use domething like dataelement.code='POP'
 -- better still to parameterize it
 dataelement.name ='Population Total' AND
 extract(year from startdate) = extract('year' from current_timestamp)
   ORDER BY sourceid,startdate DESC;
 END
 
 On 24 September 2014 09:55, Rodolfo Melia rme...@knowming.com wrote:
 Hi Lars - I had a quick look in trunk. When editing a Data Element, I still 
 only see one Aggregation Operator. I was expecting to find two: one for 
 controlling the operator of aggregations across time, a second selector for 
 the aggregator across Org Units...
 
 In terms of priorities, below my list:
 1. Sum + Avg
 2. Count (You could have two type of counts: Different to 0 or Null, 2. 
 Different to Null
 3. LAST (across time only)
 4. Std Deviation
 5. everything else
 
 Rodolfo Meliá
 Principal  |  rme...@knowming.com
 Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
 www.knowming.com
 
 On Wed, Sep 24, 2014 at 8:47 AM, Lars Helge Øverland larshe...@gmail.com 
 wrote:
 Hi there,
 
 we have implemented support for a true average aggregation operator in 
 trunk now, which will average across both time and org unit dimensions.
 
 The existing average operator has been renamed to Average (sum in 
 organisation unit hierarchy) in the UI.
 
 This will be part of 2.17.
 
 regards,
 
 Lars
  
 
 
 ___
 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-users
 Post to : dhis2-us...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 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] DHIS2 - Averaging over orgunits

2014-09-24 Thread Adebusoye Anifalaje
Thank you Bob. I guess if Rodolfo’s dream doesn’t come true, then this would be 
the next best solution.

Cheers.

Busoye

On 24 Sep 2014, at 11:03, Bob Jolliffe bobjolli...@gmail.com wrote:

 You could install the function into the database through the postgres backend.
 
 Then you can include the function into select statements.  For example:
 
 select organisationunit.name, getLatestPopulation( 
 organisationunit.organisationunitid).value from organisationunit;
 
 On 24 September 2014 10:22, Adebusoye Anifalaje bus...@hisp.org wrote:
 Hi Bob,
 
 I do not suppose you could use this statement in the sqlview since that’s 
 limited to Select statements. I recall Jason mentioned that the only way they 
 are able to manage a WASH Program needing just the last current value is to 
 dump the data and post updates though the web api. This seems to be way too 
 much maintenance and would be better if one could use an sql statement like 
 yours instead.
 
 Thanks
 
 Regards,
 Busoye
 On 24 Sep 2014, at 10:16, Bob Jolliffe bobjolli...@gmail.com wrote:
 
 For what its worth the following is the sql I used to extract the latest 
 value of a population dataelement.  I am sure it could be generalized and 
 maybe implemented as a getLastValue method on a dataelement.
 
  ---
 -- function returns most recent population estimate (and year) for
 -- an orgunitid
 ---
 CREATE OR REPLACE FUNCTION getLatestPopulation(orgunitid int, out value, out 
 year)
 AS $$
 BEGIN
   SELECT DISTINCT ON (sourceid)
 value as population,
 extract(year from startdate)
   INTO
 value, year
   FROM datavalue
 join period on period.periodid=datavalue.periodid
 join organisationunit on 
 organisationunit.organisationunitid=datavalue.sourceid
 join dataelement on dataelement.dataelementid=datavalue.dataelementid
   WHERE
 organisationunit.organisationunitid = orgunitid AND
 -- better to use domething like dataelement.code='POP'
 -- better still to parameterize it
 dataelement.name ='Population Total' AND
 extract(year from startdate) = extract('year' from current_timestamp)
   ORDER BY sourceid,startdate DESC;
 END
 
 On 24 September 2014 09:55, Rodolfo Melia rme...@knowming.com wrote:
 Hi Lars - I had a quick look in trunk. When editing a Data Element, I still 
 only see one Aggregation Operator. I was expecting to find two: one for 
 controlling the operator of aggregations across time, a second selector for 
 the aggregator across Org Units...
 
 In terms of priorities, below my list:
 1. Sum + Avg
 2. Count (You could have two type of counts: Different to 0 or Null, 2. 
 Different to Null
 3. LAST (across time only)
 4. Std Deviation
 5. everything else
 
 Rodolfo Meliá
 Principal  |  rme...@knowming.com
 Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
 www.knowming.com
 
 On Wed, Sep 24, 2014 at 8:47 AM, Lars Helge Øverland larshe...@gmail.com 
 wrote:
 Hi there,
 
 we have implemented support for a true average aggregation operator in 
 trunk now, which will average across both time and org unit dimensions.
 
 The existing average operator has been renamed to Average (sum in 
 organisation unit hierarchy) in the UI.
 
 This will be part of 2.17.
 
 regards,
 
 Lars
  
 
 
 ___
 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-users
 Post to : dhis2-us...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 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] Option to cancel (not upload) the offline data

2014-09-19 Thread Adebusoye Anifalaje
Maybe this is completely off rail but most times you are not even sure what the 
data is. Perhaps an option to review either as a csv output with org units, 
period, data set, data elements and values would be great. You may consider 
this a nice to have feature rather than a must have but it would definitely be 
helpful.

Cheers.

Busoye
  
On 19 Sep 2014, at 10:32, Prosper BT ptb3...@gmail.com wrote:

 Dear Team,
 
 As we have a nice feature for upload of offline data entry, was imagining a 
 situation where you may not want to upload data, probably yo changed 
 something accidentally while offline and you are not able to edit SO on 
 asking whether to upload data there should be an option to accept or not 
 upload
 
 Regards
 
 -- 
 Prosper Behumbiize, MPH
 Phone:+256 414 320076
 Cell: +256 772 139037
  +256 752 751776
 
 ___
 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] Tracker: Allow Future Date in Report Date

2014-09-13 Thread Adebusoye Anifalaje
Hi Abyot,

I have a use case where the Entity being tracked is a Project. There is 
currently a limitation with the Report date. At the beginning of the project we 
need to be able to record future targets so that one one hand you can calculate 
performance up to date and also relative to the end of the project. For example 
a  5-year project starting in 2014 has an overall target to conduct 1000 (200 
yearly) sensitisation meetings. As of now they have completed 100. We must be 
able to calculate that this currently represents 50% performance to date and 
10% relative to the overall project target. 

The report date does not currently allow for future dates. Can this be 
implemented fairly easily just like you did for the Enrolment Date?

Many thanks.

Regards,

Busoye


On 12 Sep 2014, at 11:25, Adebusoye Anifalaje bus...@hisp.org wrote:

 That works very well. My use case is tracking projects. So project end dates 
 for attributes is probably maximum 5- 10 years. So, that’s great.
 
 I have been using the setting in Programs that allow you to define a date as 
 “Allow Future dates” if the data type is date. It as working in Individual 
 Records module but not the Tracker Capture. I imagine hat this is the fix you 
 just made.
 
 Cheers.
 Busoye 
 
 
 On 12 Sep 2014, at 11:19, Abyot Gizaw aby...@gmail.com wrote:
 
 Just made a fix with the date range. What we have now is, it is possible for 
 example to register a 120 year old person (that is sort of the lower limit) 
 and scheduled ahead of 30 years. This could be a bit much but we don't know 
 what kind of use case is out there. If we keep it open, the maximum to be 
 displayed is only 10 years then there is going to be a lot of paging. It is 
 better to display a bigger range. Now we have 150 years (-120,+30). Hope 
 your needs fall in this range.
 
 One more thing, there is a setting in program that relates to future dates.
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Sep 12, 2014 at 12:03 PM, Abyot Gizaw aby...@gmail.com wrote:
 Hi Busoye,
 
 1. Custom registration form is not yet possible... will come for 2.17
 2. Future dates, yes you are correct current year is sort of the limit. We 
 really couldn't get a sensible boundary there. will make some changes to 
 give more space.
 3. not sure I understand 3, that can only happen if the enrollment has 
 failed. 
 
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Sep 12, 2014 at 11:36 AM, Adebusoye Anifalaje bus...@hisp.org 
 wrote:
 Hi Abyot,
 
 I have just downloaded the latest 2.16 stable and the enrolment attributes 
 are loading when you select register. A few problems
  though:
 
 1)  Customised tracked entity form does not load on enrolment page. I get 
 the message below from the console when I select Register
 
 ReferenceError: data is not defined
 at 
 http://localhost:8080/dhis-web-tracker-capture/components/enrollment/enrollment-controller.js:176:43
 at wrappedCallback 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11046:81)
 at 
 http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11132:26
 at Scope.$eval 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:12075:28)
 at Scope.$digest 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11903:31)
 at Scope.$apply 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:12179:24)
 at done 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:7939:45)
 at completeRequest 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:8142:7)
 
 
 More details here:
 
 //get enrollment attributes and their values - new attributes because of 
 enrollment
 angular.forEach($scope.attributesForEnrollment, function(attribute){
 if(!angular.isUndefined(attribute.value)){
 tei.attributes.push({attribute: attribute.id, value: 
 attribute.value});
 } 
 });
 
 var enrollment = {trackedEntityInstance: tei.trackedEntityInstance,
 program: $scope.selectedProgram.id,
 status: 'ACTIVE',
 dateOfEnrollment: 
 $scope.newEnrollment.dateOfEnrollment,
 dateOfIncident: 
 $scope.newEnrollment.dateOfIncident ? $scope.newEnrollment.dateOfIncident : 
 $scope.newEnrollment.dateOfEnrollment
 };
 
 TEIService.update(tei).then(function(updateResponse){
 
 if(updateResponse.status === 'SUCCESS'){
 
 //registration is successful, continue for enrollment

 
 EnrollmentService.enroll(enrollment).then(function(enrollmentResponse){
 if(enrollmentResponse.status !== 'SUCCESS'){
 //enrollment has failed
 var dialogOptions

Re: [Dhis2-devs] [Bug 1368191] [NEW] Attributes and Data Entry form not loading in Tracker Capture

2014-09-13 Thread Adebusoye Anifalaje
Abyot, do you have any ideas why a program might be registered successfully but 
not enrolled?

Thanks

Busoye

On 12 Sep 2014, at 11:34, Abyot Gizaw aby...@gmail.com wrote:

 It seems the registration has succeeded but not the enrollment. Registration 
 and enrollment are separate things. I will look into the messaging/log to 
 make is more informative.
 
 The commits I just made won't be available in the demo until the next 
 scheduled build. You need to wait some time... or else checkout the source 
 code (r16421) and build it yourself.
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Sep 12, 2014 at 12:16 PM, Adebusoye Anifalaje bus...@hisp.org wrote:
 Thanks for the info. 
 
 I tried using the demo to enrol on the Child Program but it failed without 
 providing any more detail. Working on my local host, I have enrolled an 
 entity with the profile showing which seems to suggest that the registration 
 was fine but still cannot enter any data for the program stage.
 
 I have two screenshots attached to show you what I am seeing.
 
 Regards,
 Busoye
 
 Demo Registration Error.tiff 
 
 Enrolled but not enrolled.tiff
 
 On 12 Sep 2014, at 11:03, Abyot Gizaw aby...@gmail.com wrote:
 
 Hi Busoye,
 
 1. Custom registration form is not yet possible... will come for 2.17
 2. Future dates, yes you are correct current year is sort of the limit. We 
 really couldn't get a sensible boundary there. will make some changes to 
 give more space.
 3. not sure I understand 3, that can only happen if the enrollment has 
 failed. 
 
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Sep 12, 2014 at 11:36 AM, Adebusoye Anifalaje bus...@hisp.org 
 wrote:
 Hi Abyot,
 
 I have just downloaded the latest 2.16 stable and the enrolment attributes 
 are loading when you select register. A few problems
  though:
 
 1)  Customised tracked entity form does not load on enrolment page. I get 
 the message below from the console when I select Register
 
 ReferenceError: data is not defined
 at 
 http://localhost:8080/dhis-web-tracker-capture/components/enrollment/enrollment-controller.js:176:43
 at wrappedCallback 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11046:81)
 at 
 http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11132:26
 at Scope.$eval 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:12075:28)
 at Scope.$digest 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11903:31)
 at Scope.$apply 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:12179:24)
 at done 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:7939:45)
 at completeRequest 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:8142:7)
 
 
 More details here:
 
 //get enrollment attributes and their values - new attributes because of 
 enrollment
 angular.forEach($scope.attributesForEnrollment, function(attribute){
 if(!angular.isUndefined(attribute.value)){
 tei.attributes.push({attribute: attribute.id, value: 
 attribute.value});
 } 
 });
 
 var enrollment = {trackedEntityInstance: tei.trackedEntityInstance,
 program: $scope.selectedProgram.id,
 status: 'ACTIVE',
 dateOfEnrollment: 
 $scope.newEnrollment.dateOfEnrollment,
 dateOfIncident: 
 $scope.newEnrollment.dateOfIncident ? $scope.newEnrollment.dateOfIncident : 
 $scope.newEnrollment.dateOfEnrollment
 };
 
 TEIService.update(tei).then(function(updateResponse){
 
 if(updateResponse.status === 'SUCCESS'){
 
 //registration is successful, continue for enrollment

 
 EnrollmentService.enroll(enrollment).then(function(enrollmentResponse){
 if(enrollmentResponse.status !== 'SUCCESS'){
 //enrollment has failed
 var dialogOptions = {
 headerText: 'enrollment_error',
 bodyText: data.description
 };
 DialogService.showDialog({}, dialogOptions);
 return;
 }
 
 2) Future date in attribute date data type not possible beyond last month of 
 current year. This works on the old Find/Add Instance module
 
 3) When you add the registration information and click Save and Continue”, 
 the dashboard still comes up with Not yet enrolled
 
 Version:
 2.16
 Build revision:
 16420
 
 Hope this give you  bit more detail.
 
 Thanks
 
 Busoye
 
 
 On 12 Sep 2014, at 10:33, Abyot Gizaw aby...@gmail.com wrote:
 
 Hi Busoye,
 
 Yes it is committed properly :)
 
 I have checked the demo as well. I can see First name, Last name

Re: [Dhis2-devs] [Bug 1368191] [NEW] Attributes and Data Entry form not loading in Tracker Capture

2014-09-12 Thread Adebusoye Anifalaje
Hi Abyot,

Thanks for the update.

I am checking the demo site but I see that this error still persists. If you 
choose Ngelehun CHC - Child Program - Register, the attributes that you get 
are not from the Program Attributes rather those defined as Attributes with no 
Programs.   The output from the console is below. I can’t see the build 
revision but the details are and from the CI I see that the fix was restored 
earlier this morning. 

Any chance you could see if this was committed properly?

Thanks

Busoye



TypeError: Cannot read property 'id' of undefined
at 
https://apps.dhis2.org/demo/dhis-web-tracker-capture/scripts/services.js:437:75
at Array.forEach (native)
at Object.forEach 
(https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:322:11)
at 
https://apps.dhis2.org/demo/dhis-web-tracker-capture/scripts/services.js:436:25
at wrappedCallback 
(https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:11046:81)
at 
https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:11132:26
at Scope.$eval 
(https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:12075:28)
at Scope.$digest 
(https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:11903:31)
at Scope.$apply 
(https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:12179:24)
at 
https://apps.dhis2.org/demo/dhis-web-tracker-capture/scripts/services.js:417:36 


Demo site

2.16
Build revision:
Build date:
2014-09-12 08:54



On 11 Sep 2014, at 16:14, Abyot Gizaw aby...@gmail.com wrote:

 Hi Busoye,
 
 A fix is now committed - r16418.
 
 ---
 Thank you,
 Abyot.
 
 On Thu, Sep 11, 2014 at 1:59 PM, Adebusoye Anifalaje bus...@hisp.org wrote:
 Public bug reported:
 
 Hi Devs,
 
 I am having issues loading attributes for a defined program. The program
 assigned to the org unit shows but when I select Register only the
 Report Date comes up. There are no errors in the log but the Console
 output is below:
 
 TypeError: Cannot read property 'id' of undefined
 at 
 https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:437:62
 at Array.forEach (native)
 at Object.forEach 
 (https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:322:11)
 at 
 https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:436:25
 at wrappedCallback 
 (https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11046:81)
 at 
 https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11132:26
 at Scope.$eval 
 (https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:12075:28)
 at Scope.$digest 
 (https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11903:31)
 at Scope.$apply 
 (https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:12179:24)
 at 
 https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:417:36 
 angular.js:9509(anonymous function) angular.js:9509(anonymous function) 
 angular.js:6950wrappedCallback angular.js:11049(anonymous function) 
 angular.js:11132Scope.$eval angular.js:12075Scope.$digest 
 angular.js:11903Scope.$apply angular.js:12179(anonymous function) 
 services.js:417forEach angular.js:322(anonymous function) services.js:411k 
 jquery.min.js:2l.fireWith jquery.min.js:2request.onsuccess 
 dhis2.storage.idb.js:264
 
 The problem seems to be here:
 
 angular.forEach(program.programTrackedEntityAttributes, function(pAttribute){
 var att = attributes[pAttribute.attribute.id];
 att.mandatory = pAttribute.mandatory;
 if(pAttribute.displayInList){
 att.displayInListNoProgram = true;
 
 I am using Version:
 2.16
 Build revision:
 16410
 
 Many thanks.
 
 Kind regards,
 Busoye
 
 ** Affects: dhis2
  Importance: Undecided
  Status: New
 
 --
 You received this bug notification because you are a member of DHIS 2
 developers, which is subscribed to DHIS.
 https://bugs.launchpad.net/bugs/1368191
 
 Title:
   Attributes and Data Entry form not loading in Tracker Capture
 
 Status in DHIS 2:
   New
 
 Bug description:
   Hi Devs,
 
   I am having issues loading attributes for a defined program. The
   program assigned to the org unit shows but when I select Register only
   the Report Date comes up. There are no errors in the log but the
   Console output is below:
 
   TypeError: Cannot read property 'id' of undefined
   at 
 https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:437:62
   at Array.forEach (native)
   at Object.forEach 
 (https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:322:11)
   at 
 https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:436:25
   at wrappedCallback 
 (https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11046

Re: [Dhis2-devs] [Bug 1368191] [NEW] Attributes and Data Entry form not loading in Tracker Capture

2014-09-12 Thread Adebusoye Anifalaje
Hi Abyot,

I have just downloaded the latest 2.16 stable and the enrolment attributes are 
loading when you select register. A few problems
 though:

1)  Customised tracked entity form does not load on enrolment page. I get the 
message below from the console when I select Register

ReferenceError: data is not defined
at 
http://localhost:8080/dhis-web-tracker-capture/components/enrollment/enrollment-controller.js:176:43
at wrappedCallback 
(http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11046:81)
at 
http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11132:26
at Scope.$eval 
(http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:12075:28)
at Scope.$digest 
(http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11903:31)
at Scope.$apply 
(http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:12179:24)
at done 
(http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:7939:45)
at completeRequest 
(http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:8142:7)


More details here:

//get enrollment attributes and their values - new attributes because of 
enrollment
angular.forEach($scope.attributesForEnrollment, function(attribute){
if(!angular.isUndefined(attribute.value)){
tei.attributes.push({attribute: attribute.id, value: 
attribute.value});
} 
});

var enrollment = {trackedEntityInstance: tei.trackedEntityInstance,
program: $scope.selectedProgram.id,
status: 'ACTIVE',
dateOfEnrollment: 
$scope.newEnrollment.dateOfEnrollment,
dateOfIncident: $scope.newEnrollment.dateOfIncident 
? $scope.newEnrollment.dateOfIncident : $scope.newEnrollment.dateOfEnrollment
};

TEIService.update(tei).then(function(updateResponse){

if(updateResponse.status === 'SUCCESS'){

//registration is successful, continue for enrollment   


EnrollmentService.enroll(enrollment).then(function(enrollmentResponse){
if(enrollmentResponse.status !== 'SUCCESS'){
//enrollment has failed
var dialogOptions = {
headerText: 'enrollment_error',
bodyText: data.description
};
DialogService.showDialog({}, dialogOptions);
return;
}

2) Future date in attribute date data type not possible beyond last month of 
current year. This works on the old Find/Add Instance module

3) When you add the registration information and click Save and Continue”, the 
dashboard still comes up with Not yet enrolled

Version:
2.16
Build revision:
16420

Hope this give you  bit more detail.

Thanks

Busoye


On 12 Sep 2014, at 10:33, Abyot Gizaw aby...@gmail.com wrote:

 Hi Busoye,
 
 Yes it is committed properly :)
 
 I have checked the demo as well. I can see First name, Last name and Gender 
 in the registration form - it is only these three attributes which are 
 assigned to Child Programme. 
 
 I think the issue is with your cache. Can you clear and try one more time?
 
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Sep 12, 2014 at 11:07 AM, Adebusoye Anifalaje bus...@hisp.org wrote:
 Hi Abyot,
 
 Thanks for the update.
 
 I am checking the demo site but I see that this error still persists. If you 
 choose Ngelehun CHC - Child Program - Register, the attributes that you get 
 are not from the Program Attributes rather those defined as Attributes with 
 no Programs.   The output from the console is below. I can’t see the build 
 revision but the details are and from the CI I see that the fix was restored 
 earlier this morning. 
 
 Any chance you could see if this was committed properly?
 
 Thanks
 
 Busoye
 
 
 
 TypeError: Cannot read property 'id' of undefined
 at 
 https://apps.dhis2.org/demo/dhis-web-tracker-capture/scripts/services.js:437:75
 at Array.forEach (native)
 at Object.forEach 
 (https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:322:11)
 at 
 https://apps.dhis2.org/demo/dhis-web-tracker-capture/scripts/services.js:436:25
 at wrappedCallback 
 (https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:11046:81)
 at 
 https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:11132:26
 at Scope.$eval 
 (https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:12075:28)
 at Scope.$digest 
 (https://apps.dhis2.org/demo/dhis-web-commons/javascripts/angular/angular.js:11903:31)
 at Scope.$apply 
 (https://apps.dhis2.org/demo/dhis-web-commons/javascripts

Re: [Dhis2-devs] [Bug 1368191] [NEW] Attributes and Data Entry form not loading in Tracker Capture

2014-09-12 Thread Adebusoye Anifalaje
Thanks Abyot.

On 12 Sep 2014, at 11:34, Abyot Gizaw aby...@gmail.com wrote:

 It seems the registration has succeeded but not the enrollment. Registration 
 and enrollment are separate things. I will look into the messaging/log to 
 make is more informative.
 
 The commits I just made won't be available in the demo until the next 
 scheduled build. You need to wait some time... or else checkout the source 
 code (r16421) and build it yourself.
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Sep 12, 2014 at 12:16 PM, Adebusoye Anifalaje bus...@hisp.org wrote:
 Thanks for the info. 
 
 I tried using the demo to enrol on the Child Program but it failed without 
 providing any more detail. Working on my local host, I have enrolled an 
 entity with the profile showing which seems to suggest that the registration 
 was fine but still cannot enter any data for the program stage.
 
 I have two screenshots attached to show you what I am seeing.
 
 Regards,
 Busoye
 
 Demo Registration Error.tiff 
 
 Enrolled but not enrolled.tiff
 
 On 12 Sep 2014, at 11:03, Abyot Gizaw aby...@gmail.com wrote:
 
 Hi Busoye,
 
 1. Custom registration form is not yet possible... will come for 2.17
 2. Future dates, yes you are correct current year is sort of the limit. We 
 really couldn't get a sensible boundary there. will make some changes to 
 give more space.
 3. not sure I understand 3, that can only happen if the enrollment has 
 failed. 
 
 
 ---
 Thank you,
 Abyot.
 
 On Fri, Sep 12, 2014 at 11:36 AM, Adebusoye Anifalaje bus...@hisp.org 
 wrote:
 Hi Abyot,
 
 I have just downloaded the latest 2.16 stable and the enrolment attributes 
 are loading when you select register. A few problems
  though:
 
 1)  Customised tracked entity form does not load on enrolment page. I get 
 the message below from the console when I select Register
 
 ReferenceError: data is not defined
 at 
 http://localhost:8080/dhis-web-tracker-capture/components/enrollment/enrollment-controller.js:176:43
 at wrappedCallback 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11046:81)
 at 
 http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11132:26
 at Scope.$eval 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:12075:28)
 at Scope.$digest 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:11903:31)
 at Scope.$apply 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:12179:24)
 at done 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:7939:45)
 at completeRequest 
 (http://localhost:8080/dhis-web-commons/javascripts/angular/angular.js:8142:7)
 
 
 More details here:
 
 //get enrollment attributes and their values - new attributes because of 
 enrollment
 angular.forEach($scope.attributesForEnrollment, function(attribute){
 if(!angular.isUndefined(attribute.value)){
 tei.attributes.push({attribute: attribute.id, value: 
 attribute.value});
 } 
 });
 
 var enrollment = {trackedEntityInstance: tei.trackedEntityInstance,
 program: $scope.selectedProgram.id,
 status: 'ACTIVE',
 dateOfEnrollment: 
 $scope.newEnrollment.dateOfEnrollment,
 dateOfIncident: 
 $scope.newEnrollment.dateOfIncident ? $scope.newEnrollment.dateOfIncident : 
 $scope.newEnrollment.dateOfEnrollment
 };
 
 TEIService.update(tei).then(function(updateResponse){
 
 if(updateResponse.status === 'SUCCESS'){
 
 //registration is successful, continue for enrollment

 
 EnrollmentService.enroll(enrollment).then(function(enrollmentResponse){
 if(enrollmentResponse.status !== 'SUCCESS'){
 //enrollment has failed
 var dialogOptions = {
 headerText: 'enrollment_error',
 bodyText: data.description
 };
 DialogService.showDialog({}, dialogOptions);
 return;
 }
 
 2) Future date in attribute date data type not possible beyond last month of 
 current year. This works on the old Find/Add Instance module
 
 3) When you add the registration information and click Save and Continue”, 
 the dashboard still comes up with Not yet enrolled
 
 Version:
 2.16
 Build revision:
 16420
 
 Hope this give you  bit more detail.
 
 Thanks
 
 Busoye
 
 
 On 12 Sep 2014, at 10:33, Abyot Gizaw aby...@gmail.com wrote:
 
 Hi Busoye,
 
 Yes it is committed properly :)
 
 I have checked the demo as well. I can see First name, Last name and Gender 
 in the registration form - it is only these three attributes which are 
 assigned

[Dhis2-devs] [Bug 1368191] [NEW] Attributes and Data Entry form not loading in Tracker Capture

2014-09-11 Thread Adebusoye Anifalaje
Public bug reported:

Hi Devs,

I am having issues loading attributes for a defined program. The program
assigned to the org unit shows but when I select Register only the
Report Date comes up. There are no errors in the log but the Console
output is below:

TypeError: Cannot read property 'id' of undefined
at 
https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:437:62
at Array.forEach (native)
at Object.forEach 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:322:11)
at 
https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:436:25
at wrappedCallback 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11046:81)
at 
https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11132:26
at Scope.$eval 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:12075:28)
at Scope.$digest 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11903:31)
at Scope.$apply 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:12179:24)
at 
https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:417:36 
angular.js:9509(anonymous function) angular.js:9509(anonymous function) 
angular.js:6950wrappedCallback angular.js:11049(anonymous function) 
angular.js:11132Scope.$eval angular.js:12075Scope.$digest 
angular.js:11903Scope.$apply angular.js:12179(anonymous function) 
services.js:417forEach angular.js:322(anonymous function) services.js:411k 
jquery.min.js:2l.fireWith jquery.min.js:2request.onsuccess 
dhis2.storage.idb.js:264

The problem seems to be here:

angular.forEach(program.programTrackedEntityAttributes, function(pAttribute){
var att = attributes[pAttribute.attribute.id];
att.mandatory = pAttribute.mandatory;
if(pAttribute.displayInList){
att.displayInListNoProgram = true; 

I am using Version:
2.16
Build revision:
16410

Many thanks.

Kind regards,
Busoye

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1368191

Title:
  Attributes and Data Entry form not loading in Tracker Capture

Status in DHIS 2:
  New

Bug description:
  Hi Devs,

  I am having issues loading attributes for a defined program. The
  program assigned to the org unit shows but when I select Register only
  the Report Date comes up. There are no errors in the log but the
  Console output is below:

  TypeError: Cannot read property 'id' of undefined
  at 
https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:437:62
  at Array.forEach (native)
  at Object.forEach 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:322:11)
  at 
https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:436:25
  at wrappedCallback 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11046:81)
  at 
https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11132:26
  at Scope.$eval 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:12075:28)
  at Scope.$digest 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:11903:31)
  at Scope.$apply 
(https://dhis.leprosy.org/dhis-web-commons/javascripts/angular/angular.js:12179:24)
  at 
https://dhis.leprosy.org/dhis-web-tracker-capture/scripts/services.js:417:36 
angular.js:9509(anonymous function) angular.js:9509(anonymous function) 
angular.js:6950wrappedCallback angular.js:11049(anonymous function) 
angular.js:11132Scope.$eval angular.js:12075Scope.$digest 
angular.js:11903Scope.$apply angular.js:12179(anonymous function) 
services.js:417forEach angular.js:322(anonymous function) services.js:411k 
jquery.min.js:2l.fireWith jquery.min.js:2request.onsuccess 
dhis2.storage.idb.js:264

  The problem seems to be here:

  angular.forEach(program.programTrackedEntityAttributes, function(pAttribute){
  var att = attributes[pAttribute.attribute.id];
  att.mandatory = pAttribute.mandatory;
  if(pAttribute.displayInList){
  att.displayInListNoProgram = true; 

  I am using Version:
  2.16
  Build revision:
  16410

  Many thanks.

  Kind regards,
  Busoye

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1368191/+subscriptions

___
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] Web API: Email Invitation to create account

2014-09-02 Thread Adebusoye Anifalaje
Hi,

I’m trying out the web api for sending emails to users to create their 
accounts. Not quite sure what the Json format is. Can anyone help? There’s 
nothing in the manual at the moment. I will not be including the username so 
that users can choose this themselves.

Thanks.

Regards,

Busoye



___
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] Report COMPLETENESS empty

2014-08-22 Thread Adebusoye Anifalaje
Hi Riddy,

Not sure if you are not aware but I have been working with Jenny on this 
problem. The reason you are not seeing your completeness report is because the 
org units are not assigned to that particular data set.

Best regards,

Busoye


On 22 Aug 2014, at 13:56, riddy ndoma riddynd...@gmail.com wrote:

 Hello dear all, 
 I just noticed a problem in our system. The Completeness Report shows 
 nothing. It may be what the problem? 
 I need your help!
 I set attachment, the screenshot.
 
 -- 
 Riddy NDOMA
 Software Developer
 Skype: riddyndoma, G+: riddyndoma, FB: riddy ndoma
 Twitter: riddyndoma, LinkedIn: riddy ndoma
 Blog: http://riddyndoma.blogspot.com/
 
 Vous servir est mon désire (Serving you is my desire)
 completude empty.png___
 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] dhis upgrade from 2.0.5 to 2.15

2014-08-20 Thread Adebusoye Anifalaje
Hi,

I posted a similar requirement a few months back. From my experience 2.0 to 
2.10 worked fine.

Regards,

Busoye



On 20 Aug 2014, at 12:12, Bob Jolliffe bobjolli...@gmail.com wrote:

 Yes in theory they should.  Though there was much which changed between 
 2.05 and 2.10.  All of the table altering stuff from earlier versions should 
 be accumulated in newer versions but I recall that sometimes things did not 
 go smoothely with major jumps in versions.  I guess the simple fact is that 
 incremental upgrades tend to get tested pretty heavily.  Jumping versions 
 becomes more of a leap of faith :-)
 
 But I do agree, if someone can verify that 2.05 to 2.10 works fine, then it 
 would be good to hear.
 
 I suspect the bigger problems will arise because the metadata integrity 
 control on earlier versions was a good bit looser, so there will be hiccups 
 caused by inconsistencies in categoryoptions, groupsets etc due to broken 
 metadata in old databases.  Certainly before attempting such an upgrade I 
 would consider trying to repair as much of these as possible, though again 
 without tools it is not always really easy.
 
 Of course the most important thing is to make sure you do all of these 
 experiments in the full knowledge that you have a complete, verified/restored 
 backup copy of the source database.
 
 Meanwhile I guess the answer to my earlier question is that nobody has setup 
 a dhis war museum.
 
 Regards
 Bob
 
 
 On 20 August 2014 11:25, Knut Staring knu...@gmail.com wrote:
 I thought Dan's point was that it would not be necessary to go through every 
 version?
 
 But if it's necessary, maybe it would suffice to describe in simple steps how 
 to build old versions.
 
 
 On Wed, Aug 20, 2014 at 12:15 PM, Bob Jolliffe bobjolli...@gmail.com wrote:
 The question of upgrading from very old dhis2 versions came up recently in 
 another post.
 
 It emerged then that we don't seem to have a historical archive (museum!) of 
 war artefacts going back beyond 2.10 on http://apps.dhis2.org/ci.  We do have 
 the source code tagged back as far as 2.4.  Has anybody kept hold of these 
 historic build or should we consider rebuilding and making available?  Who 
 would volunteer to do that?
 
 
 On 19 August 2014 22:59, Knut Staring knu...@gmail.com wrote:
 Hi Moemedi,
 Not sure, but I think you could try upgrading directly from 2.0.5 to 2.13 
 first, and then run the first script. Then 2.14, then script, then 2.15.
 
 If things don't work, you should provide the actual error messages.
 
 
 
 
 On Tue, Aug 19, 2014 at 6:17 PM, Moemedi Ntunyane 
 moemedi.ntuny...@hotmail.com wrote:
 Hi All
 
 I am upgrading DHIS 2.0.5 using postgreSQL DB, is there a shortcut other than 
 using incremental way like 2.0.5, 2.0.6 ..to 2.15. Directly executing 
 scripts from 
 http://www.dhis2.org/download/resources/sql/convert-fixed-attributes-to-dynamic.sql
  gives errors like column does not exist.
 
 Moemedi Ntunyane
 Co-founder KeyInConsulting
 
 
 From: moemedi.ntuny...@hotmail.com
 To: d...@dancocos.com
 CC: dhis2-devs@lists.launchpad.net
 Subject: RE: [Dhis2-devs] dhis upgrade from 2.0.5 to 2.15
 Date: Tue, 19 Aug 2014 16:47:46 +0200
 
 
 Hi Dan
 
 Thanks a lot.
 
 Regards,
 
 Moemedi Ntunyane
 Co-founder KeyInConsulting
 
 
 Subject: Re: [Dhis2-devs] dhis upgrade from 2.0.5 to 2.15
 From: d...@dancocos.com
 Date: Tue, 19 Aug 2014 10:40:56 -0400
 CC: dhis2-devs@lists.launchpad.net
 To: moemedi.ntuny...@hotmail.com
 
 Hello Moemedi,
 
 The upgrades should happen automatically except for 2.13-2.14 and 2.14-2.15 
 Those scripts can be found here 
 https://www.dhis2.org/downloads 
 2.13-2.14 
 http://www.dhis2.org/download/resources/sql/convert-fixed-attributes-to-dynamic.sql
 2.14-2.15 
 http://www.dhis2.org/download/resources/sql/rename-patient-to-trackedentity.sql
 
 Thanks,
 Dan
 
 Dan Cocos
 BAO Systems
 www.baosystems.com
 T: +1 202-352-2671 | skype: dancocos
 
 On Aug 19, 2014, at 6:40 AM, Moemedi Ntunyane moemedi.ntuny...@hotmail.com 
 wrote:
 
 Hi Developers, where can I get the upgrade scripts from the very lowest dhis 
 2.0.6 so that i do incremental
 
 Moemedi Ntunyane
 Co-founder KeyInConsulting
 ___
 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
 
 
 
 
 -- 
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 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   : 

Re: [Dhis2-devs] [Dhis2-users] Drop down is not working in browser (Chrome Mozila) for dhis2

2014-08-19 Thread Adebusoye Anifalaje
Try clearing the application cache. That might help.



On 19 Aug 2014, at 09:20, Uddin Fatema fatema...@gmail.com wrote:

 sorry for let reply, Actually this problem is happening few of our client 
 side laptops. but in my desktop and laptop is working properly.
 
 Yes they clear the cash several times and test but same problem occurs. 
 
 Thanks 
 
 
 On Mon, Aug 18, 2014 at 4:29 PM, Knut Staring knu...@gmail.com wrote:
 Have you tried cleaning the browser cache?
 
 On 18 Aug 2014 12:09, Uddin Fatema fatema...@gmail.com wrote:
 Please have a look the attach file.
 
 
 On Mon, Aug 18, 2014 at 4:05 PM, Uddin Fatema fatema...@gmail.com wrote:
 Dear All,
 
 we are using dhis2 version 2.13 and build revision 12864 and Mozilla version 
 30 and Chrome 36.0.1985.143 m
 
 When we browse any form who has drop down button. Unfortunately the drop down 
  button is not showing the drop down indicator. also not showing  drop down 
 list value 
 
 However, When we re install the browser that time the drop down list is 
 coming but after some times the same problem occurs.
 
 Could anyone please help us about this problem.
 
 Thanks
 Regards
 
 Fatema Uddin
 
 Technical Advisor HIS
 Priority Area Health
 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh
 Office location:
 Room # 304, Shshid Dr.Milan Bhavan,  Management 
 Information System,
 Directorate General of Health Services of MoHFW,
 Mohakhali, Dhaka-1212, Bangladesh
 
 Phone: +880 2 881 64 59
 Fax:   +880 2 881 38 75
 
 
 
 
 -- 
 Regards
 
 Fatema Uddin
 
 Technical Advisor HIS
 Priority Area Health
 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh
 Office location:
 Room # 304, Shshid Dr.Milan Bhavan,  Management 
 Information System,
 Directorate General of Health Services of MoHFW,
 Mohakhali, Dhaka-1212, Bangladesh
 
 Phone: +880 2 881 64 59
 Fax:   +880 2 881 38 75
 
 
 ___
 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
 
 
 
 
 -- 
 Regards
 
 Fatema Uddin
 
 Technical Advisor HIS
 Priority Area Health
 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh
 Office location:
 Room # 304, Shshid Dr.Milan Bhavan,  Management 
 Information System,
 Directorate General of Health Services of MoHFW,
 Mohakhali, Dhaka-1212, Bangladesh
 
 Phone: +880 2 881 64 59
 Fax:   +880 2 881 38 75
 
 ___
 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

___
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] upgrade from 2.0.5 to 2.14

2014-08-08 Thread Adebusoye Anifalaje
Hi Moemedi,

You can upgrade from 2.0 to 2.10 directly. However, it is probably safer to 
then upgrade stepwise from 2.10 to 2.14.

Best. 

Busoye 
On 8 Jul 2014, at 11:06, Moemedi Ntunyane moemedi.ntuny...@hotmail.com wrote:

 Good Day Every one
 
 I want to upgrade DHIS 2.0.5 to a new version(2.14) which is more advanced 
 with a lot of improved features. I cannot see a clear manual for doing the 
 upgrade like scripts for all the versions from 2.0.5 to 2.14. How can I 
 upgrade without continously moving version by version. Thanks for your help 
 in advanced...
 
 Moemedi Ntunyane
 Co-founder KeyInConsulting
 ___
 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] the problem about the boxes are gray in the dataentry

2014-07-28 Thread Adebusoye Anifalaje
Hi Carlos and Knut,

Some users could not enter data because all the fields in the data sets were 
greyed out. Clearing the system cache seems to resolve the issue. 

Carlos can you confirm if this is still a problem?

Regards,
Busoye

On 28 Jul 2014, at 18:02, Knut Staring knu...@gmail.com wrote:

 Hi Carlos,
 It may be easier to understand your problem if  you provide a screenshot. 
 
 Are you saying that this occurs for some users but not all?
 
 Knut
 
 
 On Mon, Jul 28, 2014 at 12:11 PM, Carlos Nyembwe nyem...@gmail.com wrote:
 Hello all,
 I have a problem on the mask seized DHIS2, I always look for the
 solution, with versions of browsers but no solutions so far, the
 problem is that if I connect with the account for the seizure, the
 boxes are gray, I uninstalled browsers and I reinstalled but not
 suites. can you help me?
 I think it's a problem with the nternet, low flow signal or what then?
 
 ___
 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
 +4791880522
 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

___
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] [Bug 1348239] [NEW] DHIS2.16 Data elements not showing in DV if combined with indicators

2014-07-24 Thread Adebusoye Anifalaje
Public bug reported:

Hi Devs,

If you combine data elements and indicators in DV, the data element
values are ignored.

Interestingly, if you create a table with indicators and data elements
and choose to open table as a chart, the chart will show with all the
data elements in the indicator dimension. Once you save as favourite and
try to open subsequently, all the data elements are lost.

I was able to replicate this on the Demo server.

Version:
2.16
Build revision:
16223

Regards,
Busoye

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1348239

Title:
  DHIS2.16 Data elements not showing in DV if combined with indicators

Status in DHIS 2:
  New

Bug description:
  Hi Devs,

  If you combine data elements and indicators in DV, the data element
  values are ignored.

  Interestingly, if you create a table with indicators and data elements
  and choose to open table as a chart, the chart will show with all the
  data elements in the indicator dimension. Once you save as favourite
  and try to open subsequently, all the data elements are lost.

  I was able to replicate this on the Demo server.

  Version:
  2.16
  Build revision:
  16223

  Regards,
  Busoye

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1348239/+subscriptions

___
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] [Bug 1339720] [NEW] DHIS2.16 Duplicating Dimensions in Table Layout

2014-07-09 Thread Adebusoye Anifalaje
Public bug reported:

Hi devs,
Not a big deal but could be quite confusing for the user. If you select a 
multiple OU or DE dimensions to use in your table layout, these are duplicated 
every time you reselect from a previous dimension. I have replicated this on 
the demo site and attached a screenshot for your reference. You can follow 
these steps if you want to replicate

1) Select ANC Data elements in Pivot Table

2) Select This Year
 
3) Select Facility Type (Hospital)

4) Update Table

5) Select Facility Ownership (Public)

6) Remove Facility Type from Table Layout

7) Update

8) Select Facility Type (Clinic)

You will find that a new Faciity Type Dimension is added to the Table
layout.

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: Error User OU.tiff
   
https://bugs.launchpad.net/bugs/1339720/+attachment/4148825/+files/Error%20User%20OU.tiff

** Attachment removed: Error User OU.tiff
   
https://bugs.launchpad.net/dhis2/+bug/1339720/+attachment/4148825/+files/Error%20User%20OU.tiff

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1339720

Title:
  DHIS2.16 Duplicating Dimensions in Table Layout

Status in DHIS 2:
  New

Bug description:
  Hi devs,
  Not a big deal but could be quite confusing for the user. If you select a 
multiple OU or DE dimensions to use in your table layout, these are duplicated 
every time you reselect from a previous dimension. I have replicated this on 
the demo site and attached a screenshot for your reference. You can follow 
these steps if you want to replicate

  1) Select ANC Data elements in Pivot Table

  2) Select This Year
   
  3) Select Facility Type (Hospital)

  4) Update Table

  5) Select Facility Ownership (Public)

  6) Remove Facility Type from Table Layout

  7) Update

  8) Select Facility Type (Clinic)

  You will find that a new Faciity Type Dimension is added to the Table
  layout.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1339720/+subscriptions

___
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] [Bug 1339720] Re: DHIS2.16 Duplicating Dimensions in Table Layout

2014-07-09 Thread Adebusoye Anifalaje
** Attachment added: DHIS2.16 Duplicating Dimensions in TableLayout.tiff
   
https://bugs.launchpad.net/dhis2/+bug/1339720/+attachment/4148826/+files/DHIS2.16%20Duplicating%20Dimensions%20in%20TableLayout.tiff

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1339720

Title:
  DHIS2.16 Duplicating Dimensions in Table Layout

Status in DHIS 2:
  New

Bug description:
  Hi devs,
  Not a big deal but could be quite confusing for the user. If you select a 
multiple OU or DE dimensions to use in your table layout, these are duplicated 
every time you reselect from a previous dimension. I have replicated this on 
the demo site and attached a screenshot for your reference. You can follow 
these steps if you want to replicate

  1) Select ANC Data elements in Pivot Table

  2) Select This Year
   
  3) Select Facility Type (Hospital)

  4) Update Table

  5) Select Facility Ownership (Public)

  6) Remove Facility Type from Table Layout

  7) Update

  8) Select Facility Type (Clinic)

  You will find that a new Faciity Type Dimension is added to the Table
  layout.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1339720/+subscriptions

___
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] [Bug 1335677] [NEW] DHIS2.16 option set list not validating data entry

2014-06-30 Thread Adebusoye Anifalaje
I could have been imagining this but I thought the option to restrict
the list to predefined values was implemented at some point? It makes
perfect sense to allow the designer to choose this if it is appropriate
to the data element in question. So I agree with both of you. 

On 2014-06-30 11:12, Olav P wrote:

 Agree, I've seen many examples where another data element has been
 required for «Others» not in the list, optionally allowing other values
 would solve that problem.
 
 30. juni 2014 kl. 06:17 skrev Knut Staring knu...@gmail.com:
 I actually think it should be a setting - in other words, ideally two kinds 
 of dropdown boxes would be available to the form designer: 1) restricted to 
 the options in the predefined sets, and 2) also allowing free text On Sun, 
 Jun 29, 2014 at 10:13 PM, Adebusoye Anifalaje bus...@hisp.org wrote: Public 
 bug reported: I am not entirely sure if this is by design but if you have an 
 option set list the user should not be allowed to enter values not in the 
 list. From my recollection, this used to be the case. With 2.16, you can 
 enter values outside the option set list. Is this intended or is there 
 another criteria which must be selected to limit the possible entries the 
 list? I replicated this on the SNAPSHOT demo site: 1) Go to Data Entry 2) 
 Select Org unit and Facility Assessment Data Set 3) Select Period 4) In the 
 Equipment Section, enter 20 for the data element: Glucometer is present. The 
 option set list is 1 - 5. 5) It seems counterintuitive to be able to enter 
 any value where you
have defined a range of values for a data element. Best regards, Version: 
2.16-SNAPSHOT Build revision: Build date: 2014-06-28 20:04 ** Affects: dhis2 
Importance: Undecided Status: New -- You received this bug notification because 
you are a member of DHIS 2 developers, which is subscribed to DHIS. 
https://bugs.launchpad.net/bugs/1335677 [1] Title: DHIS2.16 option set list not 
validating data entry Status in DHIS 2: New Bug description: I am not entirely 
sure if this is by design but if you have an option set list the user should 
not be allowed to enter values not in the list. From my recollection, this used 
to be the case. With 2.16, you can enter values outside the option set list. Is 
this intended or is there another criteria which must be selected to limit the 
possible entries the list? I replicated this on the SNAPSHOT demo site: 1) Go 
to Data Entry 2) Select Org unit and Facility Assessment Data Set 3) Select 
Period 4) In the Equipment Section, enter 20 for the data element:
Glucometer is present. The option set list is 1 - 5. 5) It seems 
counterintuitive to be able to enter any value where you have defined a range 
of values for a data element. Best regards, Version: 2.16-SNAPSHOT Build 
revision: Build date: 2014-06-28 20:04 To manage notifications about this bug 
go to: https://bugs.launchpad.net/dhis2/+bug/1335677/+subscriptions [2] 
___ Mailing list: 
https://launchpad.net/~dhis2-devs [3] Post to : dhis2-devs@lists.launchpad.net 
Unsubscribe : https://launchpad.net/~dhis2-devs [3] More help : 
https://help.launchpad.net/ListHelp [4]
 -- Knut Staring Dept. of Informatics, University of Oslo +4791880522
http://dhis2.org [5] -- You received this bug notification because you
are a member of DHIS 2 developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1335677 [1] Title: DHIS2.16 option set
list not validating data entry Status in DHIS 2: New Bug description: I
am not entirely sure if this is by design but if you have an option set
list the user should not be allowed to enter values not in the list.
From my recollection, this used to be the case. With 2.16, you can enter
values outside the option set list. Is this intended or is there another
criteria which must be selected to limit the possible entries the list?
I replicated this on the SNAPSHOT demo site: 1) Go to Data Entry 2)
Select Org unit and Facility Assessment Data Set 3) Select Period 4) In
the Equipment Section, enter 20 for the data element: Glucometer is
present. The option set list is 1 - 5. 5) It seems counterintuitive to
be able to enter any value where you have defined a range of values for
a data element. Best regards, Version: 2.16-SNAPSHOT Build revision:
Build date: 2014-06-28 20:04 To manage notifications about this bug go
to: https://bugs.launchpad.net/dhis2/+bug/1335677/+subscriptions [2]
___ Mailing list:
https://launchpad.net/~dhis2-devs [3] Post to :
dhis2-devs@lists.launchpad.net Unsubscribe :
https://launchpad.net/~dhis2-devs [3] More help :
https://help.launchpad.net/ListHelp [4] 

-- 
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1335677 [1]

Title:
 DHIS2.16 option set list not validating data entry

Status in DHIS 2:
 New

Bug description:
 I am not entirely sure if this is by design but if you have

Re: [Dhis2-devs] [Bug 1335910] [NEW] dataset name not properly escaped

2014-06-30 Thread Adebusoye Anifalaje
Hi Olav,

I have found that this happens in a lot of cases where special characters are 
used. Try Sante de l enfant and you will find that you will see the full name. 
It’s a real issue configuring databases in French. I think Knut also raised 
this point a while back.

Cheers

Busoye

 
On 30 Jun 2014, at 16:55, Olav P 1335...@bugs.launchpad.net wrote:

 Public bug reported:
 
 If setting for example   Sante de l'enfant   as a form name, it will be
 cropped at the ' to becomeSante de l
 
 ** Affects: dhis2
 Importance: Undecided
 Status: New
 
 -- 
 You received this bug notification because you are a member of DHIS 2
 developers, which is subscribed to DHIS.
 https://bugs.launchpad.net/bugs/1335910
 
 Title:
  dataset name not properly escaped
 
 Status in DHIS 2:
  New
 
 Bug description:
  If setting for example   Sante de l'enfant   as a form name, it will
  be cropped at the ' to becomeSante de l
 
 To manage notifications about this bug go to:
 https://bugs.launchpad.net/dhis2/+bug/1335910/+subscriptions
 
 ___
 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] [Bug 1335677] [NEW] DHIS2.16 option set list not validating data entry

2014-06-29 Thread Adebusoye Anifalaje
Public bug reported:

I am not entirely sure if this is by design but if you have an option
set list the user should not be allowed to enter values not in the list.
From my recollection, this used to be the case.

With 2.16, you can enter values outside the option set list. Is this
intended or is there another criteria which must be selected to limit
the possible entries the list?

I replicated this on the SNAPSHOT demo site:

1) Go to Data Entry

2) Select Org unit and Facility Assessment Data Set

3) Select Period

4) In the Equipment Section, enter 20 for the data element: Glucometer
is present. The option set list is 1 - 5.

5) It seems counterintuitive to be able to enter any value where you
have defined a range of values for a data element.

Best regards,

Version:
2.16-SNAPSHOT
Build revision:
Build date:
2014-06-28 20:04

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1335677

Title:
  DHIS2.16 option set list not validating data entry

Status in DHIS 2:
  New

Bug description:
  I am not entirely sure if this is by design but if you have an option
  set list the user should not be allowed to enter values not in the
  list. From my recollection, this used to be the case.

  With 2.16, you can enter values outside the option set list. Is this
  intended or is there another criteria which must be selected to limit
  the possible entries the list?

  I replicated this on the SNAPSHOT demo site:

  1) Go to Data Entry

  2) Select Org unit and Facility Assessment Data Set

  3) Select Period

  4) In the Equipment Section, enter 20 for the data element: Glucometer
  is present. The option set list is 1 - 5.

  5) It seems counterintuitive to be able to enter any value where you
  have defined a range of values for a data element.

  Best regards,

  Version:
  2.16-SNAPSHOT
  Build revision:
  Build date:
  2014-06-28 20:04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1335677/+subscriptions

___
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] [Bug 1299443] Re: category combination data elements not storing values generated by aggregate query builder

2014-06-25 Thread Adebusoye Anifalaje
I have just replicated this error on the demo site. Details:

1) Used Child program, John Doe (Birth Stage) Apgar and Weight as source
data for the test. Entered data for May 2014

2) Created DE category combo options for data element called Test Agg
Cat Combo

3) Assigned to Data set and OU

4) Created Aggregation query for the cat combo

5) Ran manual aggregation

6) checked data entry page

7) No data

When I do this locally, it seems that the data is stored in the database
because after running analytics , these values are reflected. However,
you just don't see them in the data entry screen.

Version: 2.15 Demo Site

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1299443

Title:
  category combination data elements not storing values generated by
  aggregate query builder

Status in DHIS 2:
  New

Bug description:
  I created a Gender-Age category combination data element
  (Sample_Population) and then assigned the relevant tracker data
  elements to each of the category option.

  The manual aggregate builder preview shows the correct numbers and
  reports that the aggregation is successful. However no data appears in
  the data entry page on the aggregate side.

  To troubleshoot, I created flat data elements and this works (see
  attached). There is no error reported in the log. Maybe I'm missing
  something or it's a bug.

  Can anyone help?

  Thanks

  2.15-SNAPSHOT
  Build revision:
  14523

  Busoye

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1299443/+subscriptions

___
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] Problem Saving Event Coordinates- DHIS 2.15 build 15055

2014-06-25 Thread Adebusoye Anifalaje
Hi Tran,

I have tested with 15172 and the event coordinates are now saving. Also very 
pleased to see that I can also see the events on the GIS map.

Thanks Tran. Good work

Busoye



On 24 Jun 2014, at 16:01, Tran Chau tran.hispviet...@gmail.com wrote:

 Hi Adebusoye,
 
 This bug is fixed in revision 15171, version 2.15.
 
 Best regards,
 
 Châu Thu Trân
 HISP Viet Nam
 Email: tran.hispviet...@gmail.com
 
 
 On Mon, May 26, 2014 at 6:04 PM, bus...@hisp.org wrote:
 Thanks Dayo. Devs, Please find console output attached for more information.
 
 Thanks.
 
  
  
  
  
 On 2014-05-26 09:23, Deemoyes wrote:
 
 You may not be missing something though it may be a bug.
  
 But I will like to ask whether you are still using the same browser even 
 after you probably have cleared your cache. You may just try Chrome 
 incognito to narrow down the challenge and if it persists, you can right 
 click on the page and inspect the element of that page to check what error 
 you may be having.
  
 The inspect page could be useful to help you and the developers move forward 
 also.
  
 I will also try to run the demo on my computer once I get a hold of space 
 here.
  
 Regards,
  
 Adedayo
  
 Sent from my BlackBerry 10 smartphone.
 From: Adebusoye Anifalaje
 Sent: Sunday, 25 May 2014 23:11
 To: Adebusoye Anifalaje
 Cc: DHIS 2 Users list; DHIS 2 developers
 Subject: Re: [Dhis2-users] Problem Saving Event Coordinates- DHIS 2.15 build 
 15055
  
 
 I just tested this on the demo site and i am getting the same problem. 
  
 To replicate:
  
 1) select Capture Coordonates on Delivery program stage for MNCH Program
 2) Find/add instance
 3) choose ou and program etc
 4) go to Delivery program stage and enter coordinates
 5) Program Stage Instance does not save the number
  
 Did I miss something?
  
 Cheers
 Busoye
 
 On Sunday, May 25, 2014, Adebusoye Anifalaje bus...@hisp.org wrote:
 Sorry, I forgot to include version and build details:
  
 Version:2.15Build revision:15055
 
 On 25 May 2014, at 12:50, Adebusoye Anifalaje bus...@hisp.org wrote:
 
 Hi 
 
 I am having trouble saving event GPS coordinates for my program stages. 
 When the fields are empty the save icon works but as soon as I enter a 
 number it will not save. 
 
 Any ideas or help would be appreciate.
 
 Thanks.
 
 Busoye
 
 
 
 ___
 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] [Bug 1330056] Re: program validation comparing numbers like string

2014-06-19 Thread Adebusoye Anifalaje
I see that this bug had been reported earlier here:
https://bugs.launchpad.net/dhis2/+bug/1251718 probably for the Aggregate
module.

Any chance of looking into this in the Tracker?

Thanks.

Regards,

Busoye

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1330056

Title:
  program validation comparing numbers like string

Status in DHIS 2:
  New

Bug description:
  Hi Devs

  The tracker program validation for numbers is comparing numbers using
  string logic. If you have a validation rule such as a  b, the system
  results are as follows

  a = 20,000

  b = 100,000

  Validation fails (because it compares  2 and 1)

  a= 20,000
  b= 300,000

  
  I have attached a screenshot for reference.

  Thanks

  Busoye

  Version:
  2.15
  Build revision:
  15081

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1330056/+subscriptions

___
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] Resource table Erro after Manual Aggregation

2014-06-16 Thread Adebusoye Anifalaje
Hi Lars,

I also reported this problem on the Bug list here: 
https://bugs.launchpad.net/dhis2/+bug/1313954.

It happens either when you import from another system so you have period type 
id = 3 both end dates in year . Another scenario is when you run the manual 
aggregate query and choose a non-full month e.g 1 Feb 2013 to 16 June 2014. 
This always inserts an additional monthly period into the table with start date 
16-June and end date 16-June. I suspect that this will happen if you are 
aggregating for a monthly period data set.

Regards,

Busoye

  
On 16 Jun 2014, at 15:39, Lars Helge Øverland larshe...@gmail.com wrote:

 Hi Sumudu,
 
 my guess is that someone has done manual inserts of periods in the period 
 table, and that you have a mismatch between the period (start / end date) and 
 the period type. E.g. you have periods which are days but has the monthly 
 period type. Please investigate this. This SQL will give you the overview:
 
 select * from period p join periodtype pt on p.periodtypeid=pt.periodtypeid;
 
 This sql will set daily period type on day periods:
 
 update period set periodtypeid=1 where startdate=enddate;
 
 
 regards,
 
 Lars
 
 
 
 
 
  
 
 
 
 
 
 
 On Mon, Jun 9, 2014 at 4:30 AM, sumudu weerasinghe sumudu...@gmail.com 
 wrote:
 Dear all,
 I have customized dhis2 for mental health requirement.
 After data element ,org unit, attribute creation Resources table generation 
 work well and resource table generated at 2014-06-09 00:43:02
 Then follow these steps to aggregate data  from tracke
 Develop aggregate query builder
 enter one patient data for 2014 June 
 Manual aggregate data - ( success and show data in database )
 Try to generate Resource table - fail and give erro massage at 2014-06-09 
 00:47:49 as follow
 I try this in demo site but it is not authorize to generate resource table  
 Process failed: PreparedStatementCallback; SQL [insert into _periodstructure 
 values (?,?,?,?,?,?,?,?,?,?,?,?,?,?)]; Duplicate entry '201406' for key 
 'in_periodstructure_iso'; nested exception is java.sql.BatchUpdateException: 
 Duplicate entry '201406' for key 'in_periodstructure_iso'   

 I will attach my log file and screen shot.
 I am using   
   dhis 2.15
 Build revision: 15123
 Database type: Mysql 
 OS name:Windows 7
 OS architecture:x86
 
 Can any one help to come out from this?
 
 
 ___
 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-users
 Post to : dhis2-us...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 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] [Bug 1330056] [NEW] program validation comparing numbers like string

2014-06-14 Thread Adebusoye Anifalaje
Public bug reported:

Hi Devs

The tracker program validation for numbers is comparing numbers using
string logic. If you have a validation rule such as a  b, the system
results are as follows

a = 20,000

b = 100,000

Validation fails (because it compares  2 and 1)

a= 20,000
b= 300,000


I have attached a screenshot for reference.

Thanks

Busoye

Version:
2.15
Build revision:
15081

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: Incorrect Validation Result.tiff
   
https://bugs.launchpad.net/bugs/1330056/+attachment/4131380/+files/Incorrect%20Validation%20Result.tiff

** Summary changed:

- program validation comparing numbers like text
+ program validation comparing numbers like string

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1330056

Title:
  program validation comparing numbers like string

Status in DHIS 2:
  New

Bug description:
  Hi Devs

  The tracker program validation for numbers is comparing numbers using
  string logic. If you have a validation rule such as a  b, the system
  results are as follows

  a = 20,000

  b = 100,000

  Validation fails (because it compares  2 and 1)

  a= 20,000
  b= 300,000

  
  I have attached a screenshot for reference.

  Thanks

  Busoye

  Version:
  2.15
  Build revision:
  15081

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1330056/+subscriptions

___
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] Exporting and Importing Individual Records program Meta data

2014-06-12 Thread Adebusoye Anifalaje
Hi Prosper,

That’s right. No meta data export for programs (yet).

Hope this will change soon.

Regards,

Busoye


On 12 Jun 2014, at 07:27, Prosper BT ptb3...@gmail.com wrote:

 Hi Team,
 
 I have designed a multiple stage program with registration but seems I can 
 only export and import data elements only not attributes and the program 
 itself.
 
 Is this right or am missing something.
 
 Regards
 
 -- 
 Prosper Behumbiize, MPH
 Phone:+256 414 320076
 Cell: +256 772 139037
  +256 752 751776
 
 ___
 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] [Bug 1327758] [NEW] No Option for Future Date in Program Attributes with Date Data Types

2014-06-08 Thread Adebusoye Anifalaje
Public bug reported:

Hi Devs,

The option for selecting future dates is not present in program
attribute settings for dates. For instance, I have program attributes
which are Start Date and Completion date for a course. Both of these
dates are in the future but I cannot select future dates. This option is
present for data elements within program stages but I need these in the
registration/enrolment form.

Thanks.

Regards,

Busoye

Version:
2.15
Build revision:
15128

** Affects: dhis2
 Importance: Undecided
 Status: New

** Description changed:

  Hi Devs,
  
  The option for selecting future dates is not present in program
- attribute settings for dates. For instance, I have a program attributes
+ attribute settings for dates. For instance, I have program attributes
  which are Start Date and Completion date for a course. Both of these
  dates are in the future but I cannot select future dates. This option is
  present for data elements within program stages but I need these in the
  registration/enrolment form.
  
  Thanks.
  
  Regards,
  
  Busoye
  
- 
  Version:
  2.15
  Build revision:
  15128

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1327758

Title:
  No Option for Future Date in Program Attributes with Date Data Types

Status in DHIS 2:
  New

Bug description:
  Hi Devs,

  The option for selecting future dates is not present in program
  attribute settings for dates. For instance, I have program attributes
  which are Start Date and Completion date for a course. Both of these
  dates are in the future but I cannot select future dates. This option
  is present for data elements within program stages but I need these in
  the registration/enrolment form.

  Thanks.

  Regards,

  Busoye

  Version:
  2.15
  Build revision:
  15128

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1327758/+subscriptions

___
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] Clipping of maps in the dashboard (2.15 )

2014-06-04 Thread Adebusoye Anifalaje
Hi Lars,

Is the GIS legend clipping fixed? Need to know if I should upgrade for the fix. 
Currently on 2.15 build 15078.

Thanks

Busoye


On 25 Apr 2014, at 12:11, Lars Helge Øverland larshe...@gmail.com wrote:

 
 
 
 On Fri, Apr 25, 2014 at 1:01 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:
 Hi Lars,
 The country is Bhutan, so it might be just the aspect ratio of the polygon?
 
 Yes I think so. Will fix the legend clipping issue.
 
 Lars
 
  
 
 
 
 Regards,
 Jason
 
 
 On 4/25/14, Lars Helge Øverland larshe...@gmail.com wrote:
  Hi Jason,
 
  the legends being clipped is a definitely a bug (I know what causes it,
  will fix). The map being rendered this way might be normal - which country
  is it?
 
  In general, the problem with the small dashboard maps is that we need to
  reserve the left area for the legends, meaning we are left with an area
  that is small and slightly higher than wider for the map, which does not
  always fit well with certain polygons.
 
  Lars
 
 
 
  On Fri, Apr 25, 2014 at 6:13 AM, Jason Pickering 
  jason.p.picker...@gmail.com wrote:
 
  There seems to be in issue in 2.15 whereby maps are clipped when
  displayed in the dashboard. Not sure if this is a bug, or somethign
  specific to our GIS data?
 
  See attachment for an example.
 
  Regards,
  Jason
 
 
  ___
  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
 
 
 
 
 
 --
 Jason P. Pickering
 email: jason.p.picker...@gmail.com
 tel:+260974901293
 
 ___
 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] [Bug 1321285] Re: repeated program stage not visible in Tracker Dashboard

2014-05-26 Thread Adebusoye Anifalaje
Hi Tran,

I can only see a partial fix for this problem and then I checked my
build and it is Version:2.15; Build revision:15074; Build
date:2014-05-25 20:19. I downloaded it directly from Jenkins ci. It is
the last build on 2.15. Can you please check to see that the changes
were committed? I am in Congo with very poor internet connection so I
need to be sure that the newer revision is online. 

Thanks.

Busoye

On 2014-05-26 11:14, Thu Tran wrote:

 ** Changed in: dhis2
 Assignee: (unassigned) = Thu Tran (tran-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/1321285 [1]
 
 Title:
 repeated program stage not visible in Tracker Dashboard
 
 Status in DHIS 2:
 Fix Committed
 
 Bug description:
 I just discovered that you can no longer save repeatable stages for
 Tracked Entities.
 
 To replicate the problem on the demo
 
 1) Choose Org unit
 
 2) Select TB program
 
 3) For any current record, go to dashboard
 
 4) Create new event (TB Visit), save or not (complete or not) does not
 matter
 
 5) Go back to Tracked Entity Instance management page
 
 6) Select the same patient dashboard to see second TB visit
 
 7) Event not visible.
 
 Version:
 2.15
 Build revision:
 15053
 
 To manage notifications about this bug go to:
 https://bugs.launchpad.net/dhis2/+bug/1321285/+subscriptions [2]
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs [3]
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs [3]
 More help : https://help.launchpad.net/ListHelp [4]
 

Links:
--
[1] https://bugs.launchpad.net/bugs/1321285
[2] https://bugs.launchpad.net/dhis2/+bug/1321285/+subscriptions
[3] https://launchpad.net/~dhis2-devs
[4] https://help.launchpad.net/ListHelp

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1321285

Title:
  repeated program stage not visible in Tracker Dashboard

Status in DHIS 2:
  Fix Committed

Bug description:
  I just discovered that you can no longer save repeatable stages for
  Tracked Entities.

  To replicate the problem on the demo

  1) Choose Org unit

  2) Select TB program

  3) For any current record, go to dashboard

  4) Create new event (TB Visit), save or not (complete or not) does not
  matter

  5) Go back to Tracked Entity Instance management page

  6) Select the same patient dashboard to see second TB visit

  7) Event not visible.


  Version:
  2.15
  Build revision:
  15053

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1321285/+subscriptions

___
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] Problem Saving Event Coordinates

2014-05-25 Thread Adebusoye Anifalaje
Hi 

I am having trouble saving event GPS coordinates for my program stages. When 
the fields are empty the save icon works but as soon as I enter a number it 
will not save. 

Any ideas or help would be appreciate.

Thanks.

Busoye


___
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] Problem Saving Event Coordinates- DHIS 2.15 build 15055

2014-05-25 Thread Adebusoye Anifalaje
Sorry, I forgot to include version and build details:

Version:
2.15
Build revision:
15055

On 25 May 2014, at 12:50, Adebusoye Anifalaje bus...@hisp.org wrote:

 Hi 
 
 I am having trouble saving event GPS coordinates for my program stages. When 
 the fields are empty the save icon works but as soon as I enter a number it 
 will not save. 
 
 Any ideas or help would be appreciate.
 
 Thanks.
 
 Busoye
 

___
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] Problem Saving Event Coordinates- DHIS 2.15 build 15055

2014-05-25 Thread Adebusoye Anifalaje
I just tested this on the demo site and i am getting the same problem.

To replicate:

1) select Capture Coordonates on Delivery program stage for MNCH Program
2) Find/add instance
3) choose ou and program etc
4) go to Delivery program stage and enter coordinates
5) Program Stage Instance does not save the number

Did I miss something?

Cheers
Busoye

On Sunday, May 25, 2014, Adebusoye Anifalaje bus...@hisp.org wrote:

 Sorry, I forgot to include version and build details:

 Version:2.15Build revision:15055

 On 25 May 2014, at 12:50, Adebusoye Anifalaje 
 bus...@hisp.orgjavascript:_e(%7B%7D,'cvml','bus...@hisp.org');
 wrote:

 Hi

 I am having trouble saving event GPS coordinates for my program stages.
 When the fields are empty the save icon works but as soon as I enter a
 number it will not save.

 Any ideas or help would be appreciate.

 Thanks.

 Busoye



___
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] [Bug 1321285] [NEW] repeatable program stage not stored

2014-05-20 Thread Adebusoye Anifalaje
Public bug reported:

I just discovered that you can no longer save repeatable stages for
Tracked Entities.

To replicate the problem on the demo

1) Choose Org unit

2) Select TB program

3) For any current record, go to dashboard

4) Create new event (TB Visit), save or not (complete or not) does not
matter

5) Go back to Tracked Entity Instance management page

6) Select the same patient dashboard to see second TB visit

7) Even deleted.

This can't be good!


Version:
2.15
Build revision:
15053

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1321285

Title:
  repeatable program stage not stored

Status in DHIS 2:
  New

Bug description:
  I just discovered that you can no longer save repeatable stages for
  Tracked Entities.

  To replicate the problem on the demo

  1) Choose Org unit

  2) Select TB program

  3) For any current record, go to dashboard

  4) Create new event (TB Visit), save or not (complete or not) does not
  matter

  5) Go back to Tracked Entity Instance management page

  6) Select the same patient dashboard to see second TB visit

  7) Even deleted.

  This can't be good!


  Version:
  2.15
  Build revision:
  15053

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1321285/+subscriptions

___
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] [Bug 1321285] Re: repeatable program stage not stored

2014-05-20 Thread Adebusoye Anifalaje
As a follow up to the bug reported on repeatable program stages not
being stored, I have realised from the aggregation query results that
the data from the repeated program stage is actually not lost or
deleted, it's just not visible. So this is probably a more accurate
description.

** Summary changed:

- repeatable program stage not stored
+ repeatable program stage not visible in Tracker Dashboard

** Summary changed:

- repeatable program stage not visible in Tracker Dashboard
+ repeated program stage not visible in Tracker Dashboard

** Description changed:

  I just discovered that you can no longer save repeatable stages for
  Tracked Entities.
  
  To replicate the problem on the demo
  
  1) Choose Org unit
  
  2) Select TB program
  
  3) For any current record, go to dashboard
  
  4) Create new event (TB Visit), save or not (complete or not) does not
  matter
  
  5) Go back to Tracked Entity Instance management page
  
  6) Select the same patient dashboard to see second TB visit
  
- 7) Even deleted.
+ 7) Event deleted.
  
  This can't be good!
- 
  
  Version:
  2.15
  Build revision:
  15053

** Description changed:

  I just discovered that you can no longer save repeatable stages for
  Tracked Entities.
  
  To replicate the problem on the demo
  
  1) Choose Org unit
  
  2) Select TB program
  
  3) For any current record, go to dashboard
  
  4) Create new event (TB Visit), save or not (complete or not) does not
  matter
  
  5) Go back to Tracked Entity Instance management page
  
  6) Select the same patient dashboard to see second TB visit
  
- 7) Event deleted.
+ 7) Event not visible.
  
- This can't be good!
  
  Version:
  2.15
  Build revision:
  15053

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1321285

Title:
  repeated program stage not visible in Tracker Dashboard

Status in DHIS 2:
  New

Bug description:
  I just discovered that you can no longer save repeatable stages for
  Tracked Entities.

  To replicate the problem on the demo

  1) Choose Org unit

  2) Select TB program

  3) For any current record, go to dashboard

  4) Create new event (TB Visit), save or not (complete or not) does not
  matter

  5) Go back to Tracked Entity Instance management page

  6) Select the same patient dashboard to see second TB visit

  7) Event not visible.


  Version:
  2.15
  Build revision:
  15053

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1321285/+subscriptions

___
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] [Bug 1317818] Re: option set list anddrop down arrow missing for Tracker Events

2014-05-15 Thread Adebusoye Anifalaje
Anybody able to help with this problem?

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1317818

Title:
  option set list anddrop down arrow missing for Tracker Events

Status in DHIS 2:
  New

Bug description:
  All option lists for Tracker Event data elements are not loading with
  new 2.15 build.

  I checked this on the demo site and it is the same. I have attached a
  screenshot of the TB program on the demo site with the TB Disease
  Classification not showing the drop down arrow. If you used the down
  arrow you can see the options. However with my database, some data
  elements still give you options without the drop down arrow while
  others don't.

  
  There was no problem with my previous build so it's unlikely to have anything 
to do with my database.

  Version:
  2.15
  Build revision:
  15017

  Regards,

  Busoye

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1317818/+subscriptions

___
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] Possible Bug in the tracker aggregate builder 2.15

2014-05-10 Thread Adebusoye Anifalaje
I think is related to the problem I reported regarding drop down option set
lists.
On May 10, 2014 11:55 AM, Prosper BT ptb3...@gmail.com wrote:

 Dear Team,

 When creating and a new query using the query builder, selecting the
 dataset doesn't automatically display the data elements for selection.

 I have tested on the demo server and its the same.

  Version: 2.15Build revision: 15019Build date: 2014-05-09 17:20

 --
 Prosper Behumbiize, MPH
 Phone:+256 414 320076
 Cell: +256 772 139037
  +256 752 751776


 ___
 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


___
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] [Bug 1317818] [NEW] option set list anddrop down arrow missing for Tracker Events

2014-05-09 Thread Adebusoye Anifalaje
Public bug reported:

All option lists for Tracker Event data elements are not loading with
new 2.15 build.

I checked this on the demo site and it is the same. I have attached a
screenshot of the TB program on the demo site with the TB Disease
Classification not showing the drop down arrow. If you used the down
arrow you can see the options. However with my database, some data
elements still give you options without the drop down arrow while others
don't.


There was no problem with my previous build so it's unlikely to have anything 
to do with my database.

Version:
2.15
Build revision:
15017

Regards,

Busoye

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: Option Set list unavailable in Tracker.JPG
   
https://bugs.launchpad.net/bugs/1317818/+attachment/4108510/+files/Option%20Set%20list%20unavailable%20in%20Tracker.JPG

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1317818

Title:
  option set list anddrop down arrow missing for Tracker Events

Status in DHIS 2:
  New

Bug description:
  All option lists for Tracker Event data elements are not loading with
  new 2.15 build.

  I checked this on the demo site and it is the same. I have attached a
  screenshot of the TB program on the demo site with the TB Disease
  Classification not showing the drop down arrow. If you used the down
  arrow you can see the options. However with my database, some data
  elements still give you options without the drop down arrow while
  others don't.

  
  There was no problem with my previous build so it's unlikely to have anything 
to do with my database.

  Version:
  2.15
  Build revision:
  15017

  Regards,

  Busoye

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1317818/+subscriptions

___
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] Impact: Removed single event without registration feature from dhis-web-caseentry module. Replaced by event capture app

2014-05-07 Thread Adebusoye Anifalaje
Thanks Lars,

This was a bit confusing because it seemed the upgrade script had been run
but there is still a Patientdatavalue table with data in it. What happens
if the database had been upgraded to 2.15 and used extensively before the
upgrade script is run. I just tried to run the upgrade script again and get
the message: ERROR: table patientaggregatereportmembers does not exist.

Suggestions?

Thanks.

Busoye



On 7 May 2014 15:46, Lars Helge Øverland larshe...@gmail.com wrote:

 Hi Busyoe,

 what happened here is simply that we have removed the web user interface
 in individual records module for capturing single events with
 registration. You will find the same functionality with a simpler and
 better user interface in the new event capture app.

 The database (or dhis service layer) does not change at all due to this,
 and is not related to aggregation queries.

 For upgrading between 2.14 and 2.15 you must run the upgrade script which
 you can find next to the war file on dhis2.org/downloads, direct link:


 http://www.dhis2.org/download/resources/sql/rename-patient-to-trackedentity.sql

 This will rename the tables from patient* to trackedentity*



 cheers

 Lars






 On Wed, May 7, 2014 at 4:25 PM, Adebusoye Anifalaje bus...@hisp.orgwrote:

 Does this change mean that data entered for single event without
 registration will be stored in the trackedentitydatavalue table instead of
 patientdatavalue table. I am working on a single event without registration
 program. Aggregation does not work at all for all the aggregation queries.
 I copied the data from the patientdatavalue table to the
 trackedentitydatavalue table and this works (crooked way to go about it but
 experimenting). It would be useful to know which table the event capture
 app stores data and how this might help my case.

 Can anyone advise? I have already logged an entry on the user list about
 the requirements.

 Thanks.

 Regards,

 Busoye

 ___
 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 Indicators] TRUNC function for Converting Numbers with Decimals to Integers.

2014-05-05 Thread Adebusoye Anifalaje
It would be great to use for the web pivot, visualiser and GIS. Any chance it’s 
a quick and easy function to implement?

Busoye

On 5 May 2014, at 19:10, Lars Helge Øverland larshe...@gmail.com wrote:

 Hi Busoye,
 
 yes agree that would be useful. Are you referring to web pivot table now? 
 
 Lars
 
 
 
 On Thu, May 1, 2014 at 11:16 PM, Adebusoye Anifalaje bus...@hisp.org wrote:
 Hi,
 
 Can anyone advise on how to get the equivalent of the TRUNC function in Excel 
 in DHIS2 indicators?
 
 We have defined indicators for estimating population but have to contend 
 decimals which is not ideal. This function to convert numbers to integers 
 would be quite neat.
 
 
 Thanks
 
 Busoye
 
 Version 2.15
 Build: 14986
 
 
 
 ___
 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] [Bug 1315023] [NEW] manual aggregate query preview error

2014-05-01 Thread Adebusoye Anifalaje
Public bug reported:

This is an update on the manual aggregation error using version 2.15
build 14986.

When I run Manual Aggregation using the Preview Option. Saving all
values returns Data value is not valid (below). This results in $Value
written to my aggregate data fields.

 INFO  2014-05-01 15:29:07,531 Data value is not valid:
value_not_zero_or_positive_integer (DefaultDataValueService.java [http-
apr-8080-exec-9]

I tried with the same parameters without the preview and used Aggregate
and Save directly. This works fine. Thinking their might be something
wrong with Preview module. Just in case anyone else is facing a similar
problem, a quick workaround is to ditch the preview (although you can
use this to view data values to be saved) and use the Aggregate and Save
route instead until it's fixed.

Best regards,

Busoye

** Affects: dhis2
 Importance: Undecided
 Status: New

** Description changed:

  This is an update on the manual aggregation error using version 2.15
  build 14986.
  
  When I run Manual Aggregation using the Preview Option. Saving all
- values returns Data value is not valid (below)
+ values returns Data value is not valid (below). This results in $Value
+ written to my aggregate data fields.
  
+  INFO  2014-05-01 15:29:07,531 Data value is not valid:
+ value_not_zero_or_positive_integer (DefaultDataValueService.java [http-
+ apr-8080-exec-9]
  
-  INFO  2014-05-01 15:29:07,531 Data value is not valid: 
value_not_zero_or_positive_integer (DefaultDataValueService.java 
[http-apr-8080-exec-9]
- 
- 
- I tried with the same parameters without the preview and used Aggregate and 
Save directly. This works fine. Thinking their might be something wrong with 
Preview module. Just in case anyone else is facing a similar problem, a quick 
workaround is to ditch the preview (although you can use this to view data 
values to be saved) and use the Aggregate and Save route instead until it's 
fixed.
+ I tried with the same parameters without the preview and used Aggregate
+ and Save directly. This works fine. Thinking their might be something
+ wrong with Preview module. Just in case anyone else is facing a similar
+ problem, a quick workaround is to ditch the preview (although you can
+ use this to view data values to be saved) and use the Aggregate and Save
+ route instead until it's fixed.
  
  Best regards,
  
  Busoye

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1315023

Title:
  manual aggregate query preview error

Status in DHIS 2:
  New

Bug description:
  This is an update on the manual aggregation error using version 2.15
  build 14986.

  When I run Manual Aggregation using the Preview Option. Saving all
  values returns Data value is not valid (below). This results in
  $Value written to my aggregate data fields.

   INFO  2014-05-01 15:29:07,531 Data value is not valid:
  value_not_zero_or_positive_integer (DefaultDataValueService.java
  [http-apr-8080-exec-9]

  I tried with the same parameters without the preview and used
  Aggregate and Save directly. This works fine. Thinking their might be
  something wrong with Preview module. Just in case anyone else is
  facing a similar problem, a quick workaround is to ditch the preview
  (although you can use this to view data values to be saved) and use
  the Aggregate and Save route instead until it's fixed.

  Best regards,

  Busoye

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1315023/+subscriptions

___
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] [DHIS2 Indicators] TRUNC function for Converting Numbers with Decimals to Integers.

2014-05-01 Thread Adebusoye Anifalaje
Hi,

Can anyone advise on how to get the equivalent of the TRUNC function in Excel 
in DHIS2 indicators?

We have defined indicators for estimating population but have to contend 
decimals which is not ideal. This function to convert numbers to integers would 
be quite neat.   


Thanks

Busoye

Version 2.15 
Build: 14986



___
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] [Bug 1313618] [NEW] program stage custom form deleted with build upgrade on version 2.15

2014-04-28 Thread Adebusoye Anifalaje
Public bug reported:

I have been using Version 2.15 from Trunk. On one of the latest build
upgrades, all my program stage data entry forms did not pull through.
The dataentryform table still has entries for the Program stages but
there's nothing in the front end.

This problem started at the same time this error started showing up with
Tomcat startup:

* ERROR 2014-04-28 11:27:00,390 ERROR: constraint 
fk_programstage_dataentryform for relation programstage already exists 
(SchemaUpdate.java [pool-
2-thread-1])
* ERROR 2014-04-28 11:27:00,390 HHH000388: Unsuccessful: alter table 
trackedentityform add constraint fk_trackedentityform_dataentryformid foreign 
key
 (dataentryformid) references dataentryform (SchemaUpdate.java 
[pool-2-thread-1])
* ERROR 2014-04-28 11:27:00,390 ERROR: constraint 
fk_trackedentityform_dataentryformid for relation trackedentityform already 
exists (SchemaUpdate
.java [pool-2-thread-1])


Any insight or input would be most appreciated.

Many thanks.

Busoye

Version:
2.15
Build revision:
14960

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1313618

Title:
  program stage custom form deleted with build upgrade on version 2.15

Status in DHIS 2:
  New

Bug description:
  I have been using Version 2.15 from Trunk. On one of the latest build
  upgrades, all my program stage data entry forms did not pull through.
  The dataentryform table still has entries for the Program stages but
  there's nothing in the front end.

  This problem started at the same time this error started showing up
  with Tomcat startup:

  * ERROR 2014-04-28 11:27:00,390 ERROR: constraint 
fk_programstage_dataentryform for relation programstage already exists 
(SchemaUpdate.java [pool-
  2-thread-1])
  * ERROR 2014-04-28 11:27:00,390 HHH000388: Unsuccessful: alter table 
trackedentityform add constraint fk_trackedentityform_dataentryformid foreign 
key
   (dataentryformid) references dataentryform (SchemaUpdate.java 
[pool-2-thread-1])
  * ERROR 2014-04-28 11:27:00,390 ERROR: constraint 
fk_trackedentityform_dataentryformid for relation trackedentityform already 
exists (SchemaUpdate
  .java [pool-2-thread-1])

  
  Any insight or input would be most appreciated.

  Many thanks.

  Busoye

  Version:
  2.15
  Build revision:
  14960

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1313618/+subscriptions

___
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] [Bug 1313670] [NEW] cannot view Tracked Entity Instance Profile after upgrade

2014-04-28 Thread Adebusoye Anifalaje
Public bug reported:

After upgrading to the latest 2.15 War file (this database has been
using 2.15 Trunk from the start), I get an Exception Error when I try to
edit a Tracked Entity Profile. It might be worth noting that I also lost
the custom Tracked Entity Form with the upgrade. There is not problem
with newly created enrolments just ones created before the upgrade.

The error I get is below:

* INFO  2014-04-28 12:22:02,031 Time: 1929 micros: Tracked entity instance 
count SQL: select count(tei.uid) as instance from trackedentityinstance tei
 inner join trackedentity te on tei.trackedentityid = te.trackedentityid inner 
join organisationunit ou on tei.organisationunitid = ou.organisationuni
tid left join trackedentityattributevalue as XppJjSAORfm on 
XppJjSAORfm.trackedentityinstanceid = tei.trackedentityinstanceid and 
XppJjSAORfm.tr
ackedentityattributeid = 32568 left join trackedentityattributevalue as 
t6SN0pNFmIK on t6SN0pNFmIK.trackedentityinstanceid = tei.trackedentityinst
anceid and t6SN0pNFmIK.trackedentityattributeid = 32072 where 
tei.organisationunitid in (32469) and exists (select pi.trackedentityinstanceid 
from p
rograminstance pi where pi.trackedentityinstanceid = 
tei.trackedentityinstanceid and pi.programid = 25057 )  (Timer.java 
[http-apr-8080-exec-6])
* ERROR 2014-04-28 12:22:06,593 Error while executing action 
(ExceptionInterceptor.java [http-apr-8080-exec-4])
java.util.NoSuchElementException


The Dashboard is intact (apart from the previously reported problem with data 
entry forms) and no data is lost. 


Version:
2.15
Build revision:
14960

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1313670

Title:
  cannot view Tracked Entity Instance Profile after upgrade

Status in DHIS 2:
  New

Bug description:
  After upgrading to the latest 2.15 War file (this database has been
  using 2.15 Trunk from the start), I get an Exception Error when I try
  to edit a Tracked Entity Profile. It might be worth noting that I also
  lost the custom Tracked Entity Form with the upgrade. There is not
  problem with newly created enrolments just ones created before the
  upgrade.

  The error I get is below:

  * INFO  2014-04-28 12:22:02,031 Time: 1929 micros: Tracked entity instance 
count SQL: select count(tei.uid) as instance from trackedentityinstance tei
   inner join trackedentity te on tei.trackedentityid = te.trackedentityid 
inner join organisationunit ou on tei.organisationunitid = ou.organisationuni
  tid left join trackedentityattributevalue as XppJjSAORfm on 
XppJjSAORfm.trackedentityinstanceid = tei.trackedentityinstanceid and 
XppJjSAORfm.tr
  ackedentityattributeid = 32568 left join trackedentityattributevalue as 
t6SN0pNFmIK on t6SN0pNFmIK.trackedentityinstanceid = tei.trackedentityinst
  anceid and t6SN0pNFmIK.trackedentityattributeid = 32072 where 
tei.organisationunitid in (32469) and exists (select pi.trackedentityinstanceid 
from p
  rograminstance pi where pi.trackedentityinstanceid = 
tei.trackedentityinstanceid and pi.programid = 25057 )  (Timer.java 
[http-apr-8080-exec-6])
  * ERROR 2014-04-28 12:22:06,593 Error while executing action 
(ExceptionInterceptor.java [http-apr-8080-exec-4])
  java.util.NoSuchElementException

  
  The Dashboard is intact (apart from the previously reported problem with data 
entry forms) and no data is lost. 

  
  Version:
  2.15
  Build revision:
  14960

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1313670/+subscriptions

___
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] Converting Anonymous Events to Multiple Records

2014-04-18 Thread Adebusoye Anifalaje
Hi all,

Has anyone managed to convert anonymous records to multiple events with 
registration? We are having problems aggregating option sets in single events. 
Rather desperately, I am hoping to convert all these records to multiple events 
and use a simple registration to complete the cycle. 

Any tips? 

Using 2.15 Trunk

Best regards,

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


  1   2   >