[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 busoye
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:CANCEL
BEGIN:VEVENT
DTSTART;VALUE=DATE:20180829
DTEND;VALUE=DATE:20180831
DTSTAMP:20180712T181346Z
ORGANIZER;CN=BAO Business Calendar:mailto:baosystems.com_4mesfto70f7hgfla0k
 o0qe8...@group.calendar.google.com
UID:9BA30ADE-9C29-4A1B-AD86-A774D774550C
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=Ad
 ebusoye Anifalaje;X-NUM-GUESTS=0:mailto:bus...@baosystems.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=BAO Bu
 siness Calendar;X-NUM-GUESTS=0:mailto:baosystems.com_4mesfto70f7hgfla0ko0qe
 8...@group.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=DH
 IS 2 developers;X-NUM-GUESTS=0:mailto:dhis2-devs@lists.launchpad.net
CREATED:20180712T174343Z
DESCRIPTION:
LAST-MODIFIED:20180712T181346Z
LOCATION:Cambridge\, England
SEQUENCE:1
STATUS:CANCELLED
SUMMARY:University of Melbourne - DHIS 2 - VA Training 
TRANSP:TRANSPARENT
X-APPLE-STRUCTURED-LOCATION;VALUE=URI;X-APPLE-MAPKIT-HANDLE=CAESiwEI2TIQvem
 v/PPx1cIhGhIJtr8O9+wZSkARgg4EEl7MwD8iRwoOVW5pdGVkIEtpbmdkb20SAkdCGgdFbmdsYW
 5kKg5DYW1icmlkZ2VzaGlyZTIJQ2FtYnJpZGdlcg1HcmVhdCBCcml0YWluKglDYW1icmlkZ2UyC
 UNhbWJyaWRnZTIHRW5nbGFuZDgQ;X-APPLE-RADIUS=25844.70535771427;X-TITLE="Cambr
 idge, England":geo:52.202544,0.131237
X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/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


[Dhis2-devs] Invitation: University of Melbourne - DHIS 2 - VA Training @ Wed 29 Aug - Thu 30 Aug 2018 (dhis2-devs@lists.launchpad.net)

2018-07-12 Thread busoye
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART;VALUE=DATE:20180829
DTEND;VALUE=DATE:20180831
DTSTAMP:20180712T174344Z
ORGANIZER;CN=BAO Business Calendar:mailto:baosystems.com_4mesfto70f7hgfla0k
 o0qe8...@group.calendar.google.com
UID:9BA30ADE-9C29-4A1B-AD86-A774D774550C
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Adebusoye Anifalaje;X-NUM-GUESTS=0:mailto:bus...@baosystems.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=BAO Business Calendar;X-NUM-GUESTS=0:mailto:baosystems.com_4mesfto70f7h
 gfla0ko0qe8...@group.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=DHIS 2 developers;X-NUM-GUESTS=0:mailto:dhis2-devs@lists.launchpad.
 net
CREATED:20180712T174343Z
DESCRIPTION:-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~
 :~:~:~:~:~:~:~:~::~:~::-\nPlease do not edit this section of the descriptio
 n.\n\nView your event at https://www.google.com/calendar/event?action=VIEW;
 eid=Xzc1MTQyY3BnODUyNGFiOXA4Y3AzaWI5azg0b2s0YmExOGdzM2NiYTE2c3JqOGgxbjZzcTN
 hZDlnOGMgZGhpczItZGV2c0BsaXN0cy5sYXVuY2hwYWQubmV0=NjcjYmFvc3lzdGVtcy5jb
 21fNG1lc2Z0bzcwZjdoZ2ZsYTBrbzBxZThrZ29AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbTMz
 NDI0NjhmMWY5MGFhYTQwMmYzMzI1NDY2MDQ3MzVmN2RjYzE2Yjc=Europe%2FLondon=
 en_GB=1.\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:
 ~:~:~:~:~:~:~:~:~::~:~::-
LAST-MODIFIED:20180712T174343Z
LOCATION:Cambridge\, England
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:University of Melbourne - DHIS 2 - VA Training 
TRANSP:TRANSPARENT
X-APPLE-STRUCTURED-LOCATION;VALUE=URI;X-APPLE-MAPKIT-HANDLE=CAESiwEI2TIQvem
 v/PPx1cIhGhIJtr8O9+wZSkARgg4EEl7MwD8iRwoOVW5pdGVkIEtpbmdkb20SAkdCGgdFbmdsYW
 5kKg5DYW1icmlkZ2VzaGlyZTIJQ2FtYnJpZGdlcg1HcmVhdCBCcml0YWluKglDYW1icmlkZ2UyC
 UNhbWJyaWRnZTIHRW5nbGFuZDgQ;X-APPLE-RADIUS=25844.70535771427;X-TITLE="Cambr
 idge, England":geo:52.202544,0.131237
X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/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


Re: [Dhis2-devs] Event data values are stored with option code which is not unique

2017-05-06 Thread Busoye Anifalaje
Hi Jhansi,

Your second suggestion is a good one with slight modification: introduce a 
setting for the option set to enforce unique option codes. This makes it 
optional per option set. The reason for this is that there are use cases where 
the option code is used as a value for example If the option set are possible 
answers to a question. The right answer (option) may have a code of 1 while all 
the alternative options will be assigned 0. In this case it is not essential to 
distinguish between the options just that one option was right while the rest 
were wrong. 

If the devs go ahead with your second suggestion, they will be introducing 
another problem. So making uniqueness of option codes optional would provide a 
more robust solution and flexibility.

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 6 May 2017, at 09:47, jhansirk <jhans...@thoughtworks.com> wrote:
> 
> Hello DHIS Devs,
> 
> In DHIS, event capture app while registering an event, we have noticed that 
> the event dataValues (for the dataElements with optionSet) are posted with 
> the selected option code. Similarly, in the event list the event data values 
> are mapped with the option code to show the selected option.
> 
> We see a small problem with this approach, since, option code in option is 
> not a unique value, which means there is a possibility of two options having 
> the same option code leading to ambiguity in finding the selected option. 
> 
> Instead, we think it should be either of these two:
> - In Event capture, event data values should be saved with some unique option 
> property (like option id) instead of option code. But, this would be a very 
> huge migration, since, all the existing event data values should be changed 
> from option code to option id.
> - In Option, code should be made unique and there should be validations in 
> option creation form to ensure option code is unique. This would be the 
> simpler change to implement and our preferred solution to this issue.
> 
> Thanks,
> Jhansi
> ___
> 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] Program Indicators

2017-01-12 Thread Busoye Anifalaje
Hi Seth,

You should try using the code instead of the label name. Version 2.22 also has 
a code.



- -



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 404, Washington D.C. 20007

> On 12 Jan 2017, at 12:28, Seth Okeyo <sok...@dndi.org> wrote:
> 
> Hi Busoye
> I'm using the label name for option set... we are running version 2.22.
> Regards
> 
> Seth Okeyo <>| Data Management Officer
> Drugs for Neglected Diseases initiative – Africa Regional Office
> Tetezi Towers, 3rd Floor, George Padmore Road, Kilimani|  P.O. Box 21936 - 
> 00505| Nairobi | Kenya
> T: +254 020 3995000 | M: +254 727 389 149| sok...@dndi.org 
> <mailto:sok...@dndi.org> | skype: dndi_seth.okeyo
> Best Science for the Most Neglected | www.dndi.org <http://www.dndi.org/>
> From: Busoye Anifalaje <bus...@baosystems.com>
> Sent: Thursday, January 12, 2017 2:56:53 PM
> To: Seth Okeyo
> Cc: dhis2-users; Dhis2-devs; DHIS 2 developers; Groupe Francophone du DHIS 2; 
> GROUT, Lise
> Subject: Re: [Dhis2-users] Program Indicators
>  
> Hi Seth,
> 
> Are you are using the code for the option set value instead of the label name?
> 
> 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 404, Washington D.C. 20007
> 
>> On 12 Jan 2017, at 11:52, Seth Okeyo <sok...@dndi.org 
>> <mailto:sok...@dndi.org>> wrote:
>> 
>> Hello,
>> I'm developing Program indicators using data elements with Option sets, for 
>> example "Gender" with options "Male and Female", when I follow the manual by 
>> putting it like this:
>> 
>> expression:(event_count)
>> 
>> filter:
>> #{yUVXpYVeY6I.Z8W89lDV4IL} =='Male'
>> 
>> (Demographics, Admission and Treatment.Gender =='Male')
>> 
>> the data visualization returns empty results, is there something I'm not 
>> doing right?
>> 
>> regards.
>> 
>> Seth Okeyo <>| Data Management Officer
>> Drugs for Neglected Diseases initiative – Africa Regional Office
>> Tetezi Towers, 3rd Floor, George Padmore Road, Kilimani|  P.O. Box 21936 - 
>> 00505| Nairobi | Kenya
>> T: +254 020 3995000 | M: +254 727 389 149| sok...@dndi.org 
>> <mailto:sok...@dndi.org> | skype: dndi_seth.okeyo
>> Best Science for the Most Neglected | www.dndi.org <http://www.dndi.org/>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users 
>> <https://launchpad.net/~dhis2-users>
>> Post to : dhis2-us...@lists.launchpad.net 
>> <mailto:dhis2-us...@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~dhis2-users 
>> <https://launchpad.net/~dhis2-users>
>> 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] [Dhis2-users] Program Indicators

2017-01-12 Thread Busoye Anifalaje
Hi Seth,

Are you are using the code for the option set value instead of the label name?

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 404, Washington D.C. 20007

> On 12 Jan 2017, at 11:52, Seth Okeyo <sok...@dndi.org> wrote:
> 
> Hello,
> I'm developing Program indicators using data elements with Option sets, for 
> example "Gender" with options "Male and Female", when I follow the manual by 
> putting it like this:
> 
> expression:(event_count)
> 
> filter:
> #{yUVXpYVeY6I.Z8W89lDV4IL} =='Male'
> 
> (Demographics, Admission and Treatment.Gender =='Male')
> 
> the data visualization returns empty results, is there something I'm not 
> doing right?
> 
> regards.
> 
> Seth Okeyo <>| Data Management Officer
> Drugs for Neglected Diseases initiative – Africa Regional Office
> Tetezi Towers, 3rd Floor, George Padmore Road, Kilimani|  P.O. Box 21936 - 
> 00505| Nairobi | Kenya
> T: +254 020 3995000 | M: +254 727 389 149| sok...@dndi.org 
> <mailto:sok...@dndi.org> | skype: dndi_seth.okeyo
> Best Science for the Most Neglected | www.dndi.org <http://www.dndi.org/>
> ___
> Mailing list: https://launchpad.net/~dhis2-users 
> <https://launchpad.net/~dhis2-users>
> Post to : dhis2-us...@lists.launchpad.net 
> <mailto:dhis2-us...@lists.launchpad.net>
> Unsubscribe : https://launchpad.net/~dhis2-users 
> <https://launchpad.net/~dhis2-users>
> 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] [Dhis2-users] DHIS 2 (Version 2.23): Data doesn't display in DHIS Pivot table even after running analytics

2017-01-10 Thread Busoye Anifalaje
Hi Fred,
I actually thought about it after sending the initial email. If the same user 
can see the data in data set reports, there really shouldn’t be a reason not to 
see the data in pivot tables unless there are parameters you have added in 
pivot tables which weren’t in the data set report. 

Can you shed some light on what kind of table you are trying to create? 
Indicators, data elements, category dimension, org unit group dimension etc

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 404, Washington D.C. 20007

> On 10 Jan 2017, at 19:28, Fredrick Onyango <deefr...@gmail.com> wrote:
> 
> Thanks Busoye,
> 
> I appreciate the feedback.
> 
> I've checked the dimension restrictions for data analytics and none is 
> selected.
> 
> On the second option,are you referring to the 'sharing settings' on the data 
> elements?Kindly clarify.
> 
> Fred
> 
> 
> 
> On Tue, Jan 10, 2017 at 9:44 PM, Busoye Anifalaje <bus...@baosystems.com 
> <mailto:bus...@baosystems.com>> wrote:
> Hi Fred,
> 
> It is possible that the user has certain dimension restrictions for analytics.
> 
> Go to Apps -> Users. Select the user that is having problems visualising data 
> in analytics. Edit the User.  Scroll down and select “Show more options”. 
> 
> You should see a section title “Available dimension restrictions for data 
> analytics” (see attached). Check that there are no dimensions selected by 
> mistake. If there are selected dimensions, try deselecting these from the 
> user account and save. Run analytics to check  if  this resolves the problem.
> 
> If it doesn’t then it is possible that you may have other sharing protocols 
> for the data you want to view.
> 
> Hope this helps.
> 
> - -
> 
> 
> 
> 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 404, Washington D.C. 20007
> 
> 
> 
>> On 10 Jan 2017, at 18:32, Fredrick Onyango <deefr...@gmail.com 
>> <mailto:deefr...@gmail.com>> wrote:
>> 
>> Hi All,
>> 
>> I'm not able to view data on the Pivot table.
>> The data entered is however visible on the data entry screens and on the 
>> data set report but not on the DHIS 2 Pivot Table.
>> 
>> I've cleared the cache on Mozilla/Chrome and run analytics.Data mart jobs 
>> are scheduled to run every night at midnight.
>> 
>> Data is visible on PostgreSQL data value table.
>> 
>> Also noticed a message "(user) constrained by dimension" on the tomcat logs 
>> when attempting to access data on the pivot.
>> 
>> Please assist,
>> 
>> Fred
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users 
>> <https://launchpad.net/~dhis2-users>
>> Post to : dhis2-us...@lists.launchpad.net 
>> <mailto:dhis2-us...@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~dhis2-users 
>> <https://launchpad.net/~dhis2-users>
>> 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] [Dhis2-users] DHIS 2 (Version 2.23): Data doesn't display in DHIS Pivot table even after running analytics

2017-01-10 Thread Busoye Anifalaje
Hi Fred,

It is possible that the user has certain dimension restrictions for analytics.

Go to Apps -> Users. Select the user that is having problems visualising data 
in analytics. Edit the User.  Scroll down and select “Show more options”. 

You should see a section title “Available dimension restrictions for data 
analytics” (see attached). Check that there are no dimensions selected by 
mistake. If there are selected dimensions, try deselecting these from the user 
account and save. Run analytics to check  if  this resolves the problem.

If it doesn’t then it is possible that you may have other sharing protocols for 
the data you want to view.

Hope this helps.

- -



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 404, Washington D.C. 20007


> On 10 Jan 2017, at 18:32, Fredrick Onyango <deefr...@gmail.com> wrote:
> 
> Hi All,
> 
> I'm not able to view data on the Pivot table.
> The data entered is however visible on the data entry screens and on the data 
> set report but not on the DHIS 2 Pivot Table.
> 
> I've cleared the cache on Mozilla/Chrome and run analytics.Data mart jobs are 
> scheduled to run every night at midnight.
> 
> Data is visible on PostgreSQL data value table.
> 
> Also noticed a message "(user) constrained by dimension" on the tomcat logs 
> when attempting to access data on the pivot.
> 
> Please assist,
> 
> Fred
> ___
> 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] Org. unit tree is not open with org. units selected (datasets, orgunit groups, etc.)

2016-11-03 Thread Busoye Anifalaje
+1 

- -



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 404, Washington D.C. 20007

> On 3 Nov 2016, at 11:07, Jose Garcia Muñoz <josem...@gmail.com> wrote:
> 
> 
> Hi devs,
> 
> I believe we have already talked about this... So right now, it is difficult 
> to know the org. units that are selected for a particular dataset/org. unit 
> group/etc (see attached image).
> 
> I think you are going to change the behaviour of this... Is this something we 
> could have in the following days? (it is a bit complicated to manage when you 
> have more than 40.000 org. units in the system :) ).
> 
> It will be nice to have this fix for 2.24 and 2.25.
> 
> Thanks
> Jose
> 
> 
> 
> ___
> 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] Restricting Data Set assignment through User Role doesn't work for a user with 'ALL' authority

2016-08-17 Thread Busoye Anifalaje
Hi Archana,

This is expected behaviour with the ‘ALL’ authority. You would not be able to 
restrict access to most objects created for a user with All authority in their 
user role. This is what distinguishes the default Superuser role from the rest. 

The only instance I am aware of that the All authority is restricted by default 
is with Dashboard created as private.

I think the idea is that the All authority allows a sys admin to troubleshoot 
most issues without having to request access from a user that might either not 
be able to provide the access required or does not know how to.
  

Hope that helps.

Regards,

- -



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 404, Washington D.C. 20007

> On 17 Aug 2016, at 07:31, Archana Chillala <archa...@thoughtworks.com> wrote:
> 
> Hi,
> 
> We are working on DHIS version 2.24 (revision - 23565). We are testing the 
> behaviour of restricting data Sets through User Roles. We have created a user 
> role with all the authorities, except 'ALL' authority. And did not assign any 
> data Sets to this user role. Then we assigned the role to a user. So, when 
> the user is logged in, and opens data entry app, and goes to the right 
> organisation unit where that particular data set is assigned to, the user 
> cannot find any data sets. This is the expected behaviour. However, we 
> modified the user role, by giving only the 'ALL' authority now (no other 
> authorities are given). And tested the same again. Now, the user is able to 
> see the data set in the data entry app, even if the data set is not assigned 
> to the user role. Is this expected of the user who has "ALL" authority? Or a 
> bug?
> 
> Any help here would be appreciated.
> 
> 
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com <mailto:archa...@thoughtworks.com>
> Telephone +91 9100960533 <tel:+91+9100960533>
>  
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature_medium=email_source=thoughtworks-email-signature-generator>
> ___
> 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] Android aggregated app updates updates datavalues but not datavalueaudit and dataset report not showing changed values

2016-07-12 Thread Busoye Anifalaje
Hi Elmarie,

Did you run Analytics after you update the data values? This would be necessary 
to update your data set report. 

Regards

- -



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 404, Washington D.C. 20007

> On 12 Jul 2016, at 08:05, Elmarie Claasen <elma...@hisp.org> wrote:
> 
> Hi all,
>  
> We are testing an implementation of the latest android apk against 2.20 
> instance capturing aggregated data values weekly for a campaign dataset. 
> From our testing the following:
>  
> 1.  Capturing data on the apk posted data to DHIS2. 
> 2.  Running a dataset report and viewing the data in the UI and pulling a 
> SQL view all showed consistent data values
> 3.  Updating datavalues on the apk updated the datavalues in the 
> datavalue table but did not update the datavalueaudit. Dataset report did not 
> pull the updated values but still showed the first captured values even after 
> clearing cache in every possible way. SQL view of the datavalue table shows 
> that the data is updated. 
> 4.  Updating datavalues in the UI updated datavalues in the datavalue, 
> datavalue audit table and the dataset report. 
>  
> Is the fact that the datavalue audit table is not updated when editing values 
> in the apk a bug?
> Where does the dataset report pull data from if not the datavalue table and 
> why is it not displaying the correct value – is this a bug?
>  
> Regards,
>  
> Elmarie Claasen
> 
> Project Manager
> Health Information Systems Program
> Tel:  041-367 1027
> Cell: 082 374 2209
> E-mail: elma...@hisp.org <mailto: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  
> <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  <mailto: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. 
> 
>  
> 
> This message and any attachments are subject to a disclaimer published at 
> http://www.hisp.org/policies.html#comms_disclaimer 
> <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 <mailto: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 
> <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] Data capturer - Events: Authorisation privilege missing

2016-07-06 Thread Busoye Anifalaje
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
>> 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 
<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 
<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] Hiding a category in a pulldown list

2016-06-07 Thread Busoye Anifalaje
Hi Laura,

To limit access to the category option for data entry, one option would be to 
achieve this through sharing. You can

1) Go to the category option sharing
2) Set public to none

For reporting purposes, you can create a category option group and category 
option group set. These can either be public (view only would be fine) or share 
with relevant user groups if relevant. 

I am assuming that you are referring to data set category options. So, 
Categories with Attribute Data Dimension Type.

Hope this helps.

Best regards,

Busoye

> On 7 Jun 2016, at 11:44, Laura E. Lincks <laura.lin...@icap.columbia.edu> 
> wrote:
> 
> Version:2.21
> Build revision:21018
> 
> ​(We'll be upgrading to 2.23 soon)
> 
> We wish to import historical data into a Category at the dataset level. This 
> option need only exist for historical purposes... no new data will be entered 
> into this category going forward. We would like to prevent users from 
> accessing this category option when performing data entry  (but still have 
> access to the other options in this same category) going forward. Is there a 
> way to hide this one option from the data entry screen but enable it for 
> reporting historical data along with current data? 
> 
> Laura E. Lincks <>
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
> 
> ___
> 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] Program Indicators: Legend Sets Association not rendering in Event Report

2016-05-06 Thread Busoye Anifalaje
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 <mailto:bus...@baosystems.com> | 
http://www.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


Re: [Dhis2-devs] [Bug 1578302] [NEW] Program Indicators issue in DHIS2

2016-05-04 Thread Busoye Anifalaje
To add to this description

If a data element is in more than one (non-repeated) program stage and a 
program indicator is created for one of those program stages, the pivot table 
returns calculated values for all program stages. 

This makes it extremely limited to reused data elements across program stages. 

Thanks

Version: 2.23, 2.22 and 2.21




> On 4 May 2016, at 17:31, Jhonson Charles  wrote:
> 
> Public bug reported:
> 
> For a Data Element (DE) present in more than 1 program stage, if you
> create a program indicator for each stage using that DE. the system use
> the first value entered in the first stage to compile the result and
> does not take into account the other value entered in the other stage.
> 
> Let's take as example:
> 
> Women weight  for a particular  MNCH Program, which is collected at each 
> women visit. if you create an indicator for each stage using that DE value 
> collected in each stage, the system will only use the first value entered 
> during the first visit for all the other 
> follow up visit
> 
> I understand  if a program indicator is created for a specific program
> stage, that should be ideally respected in analytics.
> 
> Please let us know if this is the  behavior you expected  this to have.
> 
> Best
> 
> ** 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/1578302
> 
> Title:
>  Program Indicators issue in DHIS2
> 
> Status in DHIS:
>  New
> 
> Bug description:
>  For a Data Element (DE) present in more than 1 program stage, if you
>  create a program indicator for each stage using that DE. the system
>  use the first value entered in the first stage to compile the result
>  and does not take into account the other value entered in the other
>  stage.
> 
>  Let's take as example:
> 
>  Women weight  for a particular  MNCH Program, which is collected at each 
> women visit. if you create an indicator for each stage using that DE value 
> collected in each stage, the system will only use the first value entered 
> during the first visit for all the other 
>  follow up visit
> 
>  I understand  if a program indicator is created for a specific program
>  stage, that should be ideally respected in analytics.
> 
>  Please let us know if this is the  behavior you expected  this to
>  have.
> 
>  Best
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1578302/+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


Re: [Dhis2-devs] [Dhis2-users] Delete a bad enrollment

2016-03-22 Thread Busoye Anifalaje
Thanks Abyot. Checked and the orgunit is consistent and there is no other 
active enrollment. 

So the main issue here is that the report is no longer editable. If you need 
access to have a closer look I can send a link to you separately.


--


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

> On 22 Mar 2016, at 17:05, Abyot Asalefew Gizaw <ab...@dhis2.org> wrote:
> 
> Hi Busoye,
> 
> I can't remember which version ... but check this
> 
> - see if you are trying to access the data (enrollment + event) from the same 
> orgunit that has collected it
> - see if there is no other active enrollment going on for the selected person 
> (or tracked entity instance)
> 
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org <http://www.dhis2.org/>
> On Tue, Mar 22, 2016 at 6:01 PM, Busoye Anifalaje <bus...@baosystems.com 
> <mailto:bus...@baosystems.com>> wrote:
> Hi Abyot,
> 
> I am having problems enrolling a tracked entity instance into a program. This 
> is even though multiple program stages had previously been completed for the 
> same instance. After completion, I understand that the user clicked on 
> complete enrolment. After this it has been impossible to access the data 
> previously entered or to re-enrol into the program. When I try a new 
> enrolment I get a 500 in the console (below). This doesn’t happen in all 
> cases but I haven’t been able to trace the root of this particular problem.
> 
> Any ideas where to look to resolve this issue?
> 
> Thanks
> 
> --
> 
> 
> Busoye Anifalaje (PhD)
> Director of Services, BAO Systems
> +44 7901-740-757 | bus...@baosystems.com <mailto:bus...@baosystems.com> | 
> http://www.baosystems.com <http://www.baosystems.com/> |
> Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007
> 
> 
> 
> 
> 
>> On 22 Mar 2016, at 11:18, Abyot Asalefew Gizaw <ab...@dhis2.org 
>> <mailto:ab...@dhis2.org>> wrote:
>> 
>> Hi Pepe,
>> 
>> We do not have a delete button at the moment. What you could do is use the 
>> "Cancel" button to cancel an enrollment. It will still be there, but you 
>> won't be able to enter data to it.
>> 
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org <http://www.dhis2.org/>
>> On Tue, Mar 22, 2016 at 6:18 AM, Pepe Ken Mvulu <pepeken...@gmail.com 
>> <mailto:pepeken...@gmail.com>> wrote:
>> Hi All,
>> How we can delete a bad enrollment of org.unit in the tracker capture ?
>> I can not find a "delete OrgUnit" button in the new version of the tracker
>> I use the V2.21
>> Build: 21025
>> All ideas are welcome
>> Regards !
>> 
>> Pepe Ken Mvulu
>> 
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users 
>> <https://launchpad.net/~dhis2-users>
>> Post to : dhis2-us...@lists.launchpad.net 
>> <mailto:dhis2-us...@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~dhis2-users 
>> <https://launchpad.net/~dhis2-users>
>> 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] [Dhis2-users] Delete a bad enrollment

2016-03-22 Thread Busoye Anifalaje
Just to confirm software details:

Version:
2.22
Build revision:
21939





--


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

> On 22 Mar 2016, at 17:01, Busoye Anifalaje <bus...@baosystems.com> wrote:
> 
> Hi Abyot,
> 
> I am having problems enrolling a tracked entity instance into a program. This 
> is even though multiple program stages had previously been completed for the 
> same instance. After completion, I understand that the user clicked on 
> complete enrolment. After this it has been impossible to access the data 
> previously entered or to re-enrol into the program. When I try a new 
> enrolment I get a 500 in the console (below). This doesn’t happen in all 
> cases but I haven’t been able to trace the root of this particular problem.
> 
> Any ideas where to look to resolve this issue?
> 
> Thanks
> 
> --
> 
> 
> Busoye Anifalaje (PhD)
> Director of Services, BAO Systems
> +44 7901-740-757 | bus...@baosystems.com <mailto:bus...@baosystems.com> | 
> http://www.baosystems.com <http://www.baosystems.com/> |
> Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007
> 
> 
> 
> 
> 
>> On 22 Mar 2016, at 11:18, Abyot Asalefew Gizaw <ab...@dhis2.org 
>> <mailto:ab...@dhis2.org>> wrote:
>> 
>> Hi Pepe,
>> 
>> We do not have a delete button at the moment. What you could do is use the 
>> "Cancel" button to cancel an enrollment. It will still be there, but you 
>> won't be able to enter data to it.
>> 
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org <http://www.dhis2.org/>
>> On Tue, Mar 22, 2016 at 6:18 AM, Pepe Ken Mvulu <pepeken...@gmail.com 
>> <mailto:pepeken...@gmail.com>> wrote:
>> Hi All,
>> How we can delete a bad enrollment of org.unit in the tracker capture ?
>> I can not find a "delete OrgUnit" button in the new version of the tracker
>> I use the V2.21
>> Build: 21025
>> All ideas are welcome
>> Regards !
>> 
>> Pepe Ken Mvulu
>> 
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users 
>> <https://launchpad.net/~dhis2-users>
>> Post to : dhis2-us...@lists.launchpad.net 
>> <mailto:dhis2-us...@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~dhis2-users 
>> <https://launchpad.net/~dhis2-users>
>> 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-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] 2.23 Metadata importer rewrite and dryRuns

2016-02-02 Thread Busoye Anifalaje
Since there is no rollback feature we rely on the dry run to test imports
before actually importing. If you will replace with a comparable feature
then great otherwise please let it live through the next season.

Thanks.

Busoye
On 2 Feb 2016 08:19, "Pamod Amarakoon" <pam...@gmail.com> wrote:

> Hi Morten,
>
> We are using metaData import frequently when transferring data back and
> forth in running instances. Dry Run feature is almost always used just to
> check any incompatibility before actual transfer. So it's quite useful.
>
> On Tue, Feb 2, 2016 at 1:45 PM, Morten Olav Hansen <morte...@gmail.com>
> wrote:
>
>> Hi everyone
>>
>> I'm currently in the process of re-writing our DXF2 metadata importer,
>> and was wondering if anyone is actually using the dryRun option? its adds
>> quite a bit of complexity to the code, so it will be added only to the new
>> importer if people are actually using it for imports
>>
>> --
>> Morten
>>
>> ___
>> 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,
> Pamod Amarakoon
>
> Confidentiality Notice: the information contained in this email and any
> attachments may be legally privileged and confidential. If you are not an
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you have
> received this e-mail in error, please notify the sender and permanently
> delete the e-mail and any attachments immediately. You should not retain,
> copy or use this e-mail or any attachments for any purpose, nor disclose
> all or any part of the contents to any other person.
>
>
>
>
> ___
> 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 
<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 
<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] Option sets on dhislive 2.22 data capture

2016-01-29 Thread Busoye Anifalaje
Hi Simon,

I also reported this error you can see description here 
<https://bugs.launchpad.net/dhis2/+bug/1538063>.

Cheers

Busoye


> On 29 Jan 2016, at 09:20, Simon Muyambo <smmuya...@gmail.com> wrote:
> 
> Any one experienced this problem: Data capture failing to list option sets on 
> dhis2 live version 2.22. 
> Where can I download an older version dhislive 2.21?
>  
> Regards
> Simon Muyambo
>  
> 
> 
> __ Information from ESET NOD32 Antivirus, version of virus signature 
> database 12940 (20160128) __
> 
> The message was checked by ESET NOD32 Antivirus.
> 
> http://www.eset.com <http://www.eset.com/>
> ___
> 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>

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
<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 
<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] Labels for Option sets are not shown in Data Capture App with DHIS 2.22

2016-01-22 Thread Busoye Anifalaje
Hi Devs,

I am experiencing a similar problem: option labels aren't showing on the web 
UI. 

I am using 

Version:
2.22
Build revision:
21773
Thanks




> On 22 Jan 2016, at 13:18, Knut Staring  wrote:
> 
> Should probably be reported as a bug.
> 
> Knut
> 
> On Fri, Jan 22, 2016 at 4:12 AM, Archana Chillala  > wrote:
> Attaching a screenshot for the same.
> 
> 
> 
> 
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com 
> Telephone +91 9100960533 
>  
> 
> 
> On Fri, Jan 22, 2016 at 8:25 AM, Archana Chillala  > wrote:
> Hi,
> 
> In the Data Capture android app, data elements with option sets show only a 
> blank drop down list with no labels. 
> 
> But the option sets had labels when working with DHIS 2.21
> I am currently using DHIS version 2.22 revision 21763. 
> 
> Could you please fix that.
> 
> 
> Thanks & Regards,
> 
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com 
> Telephone +91 9100960533 
>  
> 
> 
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs 
> 
> Post to : dhis2-devs@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-devs 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> 
> 
> 
> 
> -- 
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp


-- 


*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] dhis version 2.21 is released

2015-10-21 Thread Busoye Anifalaje
Excellent work, dev team!


> On 21 Oct 2015, at 21:03, Lars Helge Øverland  wrote:
> 
> Hi all,
> 
> DHIS version 2.21 is out with a lot of great new features and improvements. 
> 
> Log in with admin/district on the demo  system.
> 
> File cloud storage: You can now upload and store large files directly from 
> data entry forms. Data elements can have a file value type and render as file 
> upload widgets in forms. Files can be stored either on the Web server or sent 
> directly to AWS S3  cloud storage, which in 
> practice provides unlimited storage capacity. This capability allows you to 
> use DHIS 2 as a general document repository which can be utilized for project 
> management, documentation, CMS and many other purposes. 
> 
> File storage currently works for aggregate data entry forms - tracker coming 
> up. Have a look at the “Project management” data set in data entry on the 
> demo:
> 
> Demo  | Docs 
>  
> | Screenshot 
> 
> Settings app: The settings front-end has been re-written as a true app. It 
> features real-time saving, search for settings and a fresh new look.
> 
> Demo  | Docs 
>  | Screenshot 
> 
> 
> Data import constraints: Several optional constraints for data import can be 
> enabled to provide stricter control of the data being imported. These include 
> require period to be of same type as data set, data element to be assigned to 
> data set through org units, and more. The import constraints can be enabled 
> in settings app under “data import”.
> 
> Docs 
> 
> 
> ANALYTICS FEATURES
> ---
> 
> Functions and variables in program indicators: Program indicators support a 
> range of functions and variables. Functions allows for conditional 
> statements, calculation of number of days between dates and more. Variables 
> allows you to insert e.g. event date, enrollment date and value count into 
> expressions. This is useful for example to calculate “inpatient bed days” and 
> complex scores.
> 
> Docs  | Demo 1 
>  | 2 
>  | 
> Screenshot 1 
>  | 2 
>  | 3 
>  | 4 
>  |
> 
> 
> Custom aggregation types: A program indicator now has an aggregation type 
> property with the standard options such as sum, avg, count, std dev min, max. 
> When set to custom, the indicator expression can contain inline aggregation 
> types, allowing for greater control over aggregation.
> 
> Docs  | 
> Screenshot 
> 
> 
> Program indicators and data elements in GIS: The GIS app lets you analyse 
> program indicators, attributes and data elements on maps.
> 
> Demo  
> | Screenshot 1  
> | 2 
> 
> Program indicators in event reports: The individual event overview supports 
> program indicators, which allows you to display calculations per event 
> directly in the overview.
> 
> Demo 
>  
> | Screenshot 
> 
> 
> Download data dump: Pivot table lets you download data in CSV format directly 
> without first rendering the data in the Web browser (which might lead to the 
> browser freezing for large data volumes). This allows you to download much 
> larger batches of data which is useful for later offline analysis.
> 
> Screenshot 
> 
> Complete events only option: All analysis apps provides an option for only 
> including completed events in the aggregation process. This is useful e.g. to 
> exclude partial events in indicator calculations.
> 
> Screenshot 
> 
> 
> Full precision option: Pivot table has an option for “skip rounding” of 
> values, 

Re: [Dhis2-devs] [Bug 1328273] Re: Executing analytics table fails: Process failed: Exception during execution

2014-10-13 Thread busoye
 

Hi Lars, 

I had this problem after upgrading from 2.14 to 2.16 r 16513. I even
tried Trunk but no joy. 

Thanks. 

Busoye 

On 2014-10-13 15:55, Lars Helge Øverland wrote: 

 Hi there, 
 
 the original problem is on 2.14 - is it possible to update to 2.16? It is 
 easier for us to find and fix issues there. 
 
 Lars 
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs [1]
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs [1]
 More help : https://help.launchpad.net/ListHelp [2]
 

Links:
--
[1] https://launchpad.net/~dhis2-devs
[2] 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] periodstructure giving errors...

2014-09-15 Thread busoye
 

Following from Lars' question, or import data from another system? 

Regards, 

Busoye 

On 2014-09-15 16:10, Lars Helge Øverland wrote: 

 Hi Moemedi, 
 
 may I ask, did you ever run the aggregation queries (producing aggregate 
 values from event data) on your database? 
 
 regards, 
 
 Lars 
 
 On Mon, Sep 15, 2014 at 4:01 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:
 
 I suspect you have more invalid periods then. You should follow the same 
 procedure for other period types, i.e. checking to be sure that all months 
 are one month, all weeks are one week, etc. 
 
 You may want to try something like 
 
 SELECT startdate, periodtypeid,COUNT(*) from period GROUP BY 
 startdate,periodtypeid HAVING COUNT(*)  1 ; 
 
 and see which periods and period types you have multiple records for. 
 Ideally, this should not happen. 
 
 Regards, 
 Jason 
 
 On Mon, Sep 15, 2014 at 3:53 PM, Moemedi Ntunyane 
 moemedi.ntuny...@hotmail.com wrote:
 
 Hi Jason
 Thnx, I had successfully elimated duplicate records the error still 
 pesistit complaining of ISO column: is this column a date column??
 
 Process failed: PreparedStatementCallback; SQL [insert into _periodstructure 
 values (?,?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR: null value in column iso 
 violates not-null constraint; nested exception is 
 org.postgresql.util.PSQLException: ERROR: null value in column iso violates 
 not-null constraint.
 
 Regards,
 
 Moemedi Ntunyane
 Co-founder KeyInConsulting
 
 -
 Date: Mon, 15 Sep 2014 12:22:31 +0200 
 
 Subject: Re: [Dhis2-devs] periodstructure giving errors...
 From: jason.p.picker...@gmail.com
 To: moemedi.ntuny...@hotmail.com
 CC: dhis2-devs@lists.launchpad.net
 
 So, the period 1589;6;2010-02-01;2010-02-28 , points to a yearly period 
 type, which is not a year in duration. You are going to need to get rid of 
 it. You will need to do something like 
 
 SELECT COUNT(*) FROM datavalue where periodid = 1589; 
 
 If you have any records with this periodID, you are going to need to resolve 
 these. This period looks to be monthly, so if the data is also monthly, you 
 should be able to reassign it to a monthly period which starts in 2010-02-01 
 and ends in 2010-02-28, if it is already there. You could try SELECT * FROM 
 period where startdate = '2010-02-01'::date; and see if you get multiple 
 periods for Feb 2010. If you have multiple periods for Feb 2010, then you 
 need to do something like 
 
 UPDATE datavalue set periodid = ? 
 
 where  is the periodid of the real Feb 2010 period. 
 
 Then you should get rid of the bogus Feb 2010 period 
 
 with 
 
 DELETE FROM period where periodid = 1589; 
 
 After that, you should clear your cache from Data administration. 
 
 Do not try any of this on a production database!!! 
 
 Regards, 
 Jason 
 
 On Mon, Sep 15, 2014 at 12:14 PM, Moemedi Ntunyane 
 moemedi.ntuny...@hotmail.com wrote:
 
 Hi Jason
 
 Thanx, I just run the query you gave and no records were available and 
 removed not = year(!=year) and records where available. The date format is 
 available as:
 
 1573;6;2010-01-01;2010-01-31
 1589;6;2010-02-01;2010-02-28
 
 The error available shows that there is key violation for null values for iso 
 column in the periodstructure table.
 
 Moemedi Ntunyane
 Co-founder KeyInConsulting
 
 -
 Date: Mon, 15 Sep 2014 11:46:07 +0200
 Subject: Re: [Dhis2-devs] periodstructure giving errors...
 From: jason.p.picker...@gmail.com
 To: moemedi.ntuny...@hotmail.com
 CC: dhis2-devs@lists.launchpad.net 
 
 Very likely you have an invalid period in the periods table. 
 
 Can you run this and see what happens? 
 
 SELECT * FROM period where age(enddate,startdate) != '1 year'::interval and 
 periodtypeid = (SELECT periodtypeid from periodtype where name = 'Yearly'); 
 
 Also, you should get an error which will help you to decipher which period is 
 not correct , something like 
 
 Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value 
 violates unique constraint in_periodstructure_iso 
 Detail: Key (iso)=(1995) already exists. 
 
 Best regards, 
 Jason 
 
 On Fri, Sep 12, 2014 at 5:03 PM, Moemedi Ntunyane 
 moemedi.ntuny...@hotmail.com wrote:
 
 Hi All
 
 I have this problem while generating the resource tables...all other tables 
 are fine except periodstructure...
 
 Process failed: PreparedStatementCallback; SQL [insert into _periodstructure 
 values (?,?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR: null value in column iso 
 violates not-null constraint; nested exception is 
 org.postgresql.util.PSQLException: ERROR: null value in column iso violates 
 not-null constraint 
 
 Regards,
 
 Moemedi Ntunyane
 Co-founder KeyInConsulting 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs [1]
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs [1]
 More help : https://help.launchpad.net/ListHelp [2]
 
 -- 
 
 Jason P. Pickering

Re: [Dhis2-devs] [Bug 1299443] Re: category combination data elements not storing values generated by aggregate query builder

2014-06-25 Thread busoye
 

Thanks Jason, 

I saw your notes re the duplicate but just wanted to check that the
original 129943 was still valid. 

Cheers. 

Busoye 

On 2014-06-25 12:10, Jason Pickering wrote: 

 This is just a duplicate of https://bugs.launchpad.net/dhis2/+bug/129944 
 [5]isn't it? 
 
 This is why the status was changed to invalid.. 
 
 On Wed, Jun 25, 2014 at 11:45 AM, Adebusoye Anifalaje bus...@hisp.org wrote:
 
 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 [1]
 
 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 [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]
 
 ___
 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/1299443
[2] https://bugs.launchpad.net/dhis2/+bug/1299443/+subscriptions
[3] https://launchpad.net/~dhis2-devs
[4] https://help.launchpad.net/ListHelp
[5] https://bugs.launchpad.net/dhis2/+bug/129944
___
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 1299444] Re: category combination data elements not storing values generated by aggregate query builder

2014-06-25 Thread busoye
 

Hi Simon, 

If you are having trouble running analytics after Manual Aggregation,
this is most likely due to duplicate periods being inserted into the
period table. You should check the log to see if this is the case. You
can search for this subject thread for more help: 

[Dhis2-users] Resource table Erro after Manual Aggregation 

Best regards, 

Busoye 

On 2014-06-25 12:53, Simon Ndira wrote: 

 I have also noted the same problem in 2.15 build 15159
 Furthermore, running analytics terminates without error, however there is no 
 data presenting at reports level, e.g. data entry form report.
 
 -- 
 You received this bug notification because you are a member of DHIS 2
 developers, which is subscribed to DHIS.
 https://bugs.launchpad.net/bugs/1299444 [1]
 
 Title:
 category combination data elements not storing values generated by
 aggregate query builder
 
 Status in DHIS 2:
 Invalid
 
 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/1299444/+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/1299444
[2] https://bugs.launchpad.net/dhis2/+bug/1299444/+subscriptions
[3] https://launchpad.net/~dhis2-devs
[4] 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: repeatable program stage not stored

2014-05-26 Thread busoye
 

Excellent. 

Just tested it and works fine. 

Thanks Tran for the fix and Ola for letting us know. 

Busoye 

On 2014-05-26 10:12, Ola Hodne Titlestad wrote: 

 Hi Busoye and Emma,
 
 Tran just committed a fix for this.
 
 Please try again with 2.15 revision 15075.
 
 Ola
 
 
 --
 Ola Hodne Titlestad (Mr)
 HISP
 Department of Informatics
 University of Oslo
 
 Mobile: +47 48069736
 Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps
 linkhttps://maps.google.com/maps?q=Eftas%C3%A5sen+68,+0687+Oslo,+Norgehl=enie=UTF8sll=59.893855,10.785116sspn=0.222842,0.585709oq=eftas%C3%A5sen+68,+0687+Oslo,+t=hhnear=Eftas%C3%A5sen+68,+%C3%98stensj%C3%B8,+0687+Oslo,+Norwayz=16
  [5]
 
 On 20 May 2014 23:36, Adebusoye Anifalaje bus...@hisp.org wrote:
 
 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 [1] 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 [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 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:
 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 [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
[5]
https://maps.google.com/maps?q=Eftas%C3%A5sen+68,+0687+Oslo,+Norgeamp;hl=enamp;ie=UTF8amp;sll=59.893855,10.785116amp;sspn=0.222842,0.585709amp;oq=eftas%C3%A5sen

Re: [Dhis2-devs] [Bug 1323339] [NEW] Group Sharing - search doesn't return any matches

2014-05-26 Thread busoye
 

Hi, 

I also had this problem so can confirm this too. 

Cheers. 

Busoye 

On 2014-05-26 17:25, Rodolfo Melia wrote: 

 Public bug reported:
 
 When doing Sharing Mangement from any object, no group is returned. Even
 if you write the full name, you are not allowed to add the group. This
 is happening on all 2.15 servers, including DHIS demo - see attachment
 
 ** Affects: dhis2
 Importance: Undecided
 Status: New
 
 ** Attachment added: Bug Groups.png
 https://bugs.launchpad.net/bugs/1323339/+attachment/4119908/+files/Bug%20Groups.png
  [1]
 
 -- 
 You received this bug notification because you are a member of DHIS 2
 developers, which is subscribed to DHIS.
 https://bugs.launchpad.net/bugs/1323339 [2]
 
 Title:
 Group Sharing - search doesn't return any matches
 
 Status in DHIS 2:
 New
 
 Bug description:
 When doing Sharing Mangement from any object, no group is returned.
 Even if you write the full name, you are not allowed to add the group.
 This is happening on all 2.15 servers, including DHIS demo - see
 attachment
 
 To manage notifications about this bug go to:
 https://bugs.launchpad.net/dhis2/+bug/1323339/+subscriptions [3]
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs [4]
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs [4]
 More help : https://help.launchpad.net/ListHelp [5]
 

Links:
--
[1]
https://bugs.launchpad.net/bugs/1323339/+attachment/4119908/+files/Bug%20Groups.png
[2] https://bugs.launchpad.net/bugs/1323339
[3] https://bugs.launchpad.net/dhis2/+bug/1323339/+subscriptions
[4] https://launchpad.net/~dhis2-devs
[5] 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 on REPEATABLE STAGES

2014-05-24 Thread busoye
 

Hi Emma, 

Seems you are having the same problem I reported here:
https://bugs.launchpad.net/dhis2/+bug/1321285 

Busoye 

On 2014-05-24 11:14, Emma Kassy wrote: 

 Dear Dev team, 
 
 There is a bug on the repeatable stages. 
 If you schedule an appointment, the appointment is shown as scheduled on the 
 dashboard but on refresh or search the scheduled appoint is lost. 
 
 I have tested this on SMGL server and Demo server 
 build Version: 2.15Build revision: 15065Build date: 2014-05-23 06:32
 and on the WEMR serverVersion: 2.15Build revision: 14959Build date: 
 2014-04-27 02:05 
 -- 
 Thank you and Kind Regards
 _Immarcqulate. A (Emma Kassy) _
 
 _You miss 100% of the shots you don't take._ 
 
 ___
 Mailing list: https://launchpad.net/~dhis2-devs [1]
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs [1]
 More help : https://help.launchpad.net/ListHelp [2]
 

Links:
--
[1] https://launchpad.net/~dhis2-devs
[2] 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] No data values found

2014-05-19 Thread busoye

Hi John,

Check that the analytics actually ran and there were no errors in the  
log. If that is not a problem, try different configuration in the org  
unit dimension e.g. using groups instead of level or vice versa. I  
have also found that sometimes I get no values with an org unit level  
but same analysis runs okay with user org unit or a particular ou group.


Hope this helps.

Best

Busoye


Quoting John Ojo jn...@yahoo.com:


Hi Everyone,

I get the message No values found in the Pivot Table and Data  
Visualizer applications in dhis2 2.15 when I try to visualize data I  
have entered into my database. The Dataset report also draws a blank.


I updated the Data mart before attempting the data visualization.
I have superuser access. I see the data when I open the data entry  
app and select any of the Orgunits and the same time period for  
which data had been entered.



I would appreciate help to be able to visualize my data values.  
Currently using dhis2 version 2.15, build revision:14942 and build  
date: 2014-04-22 21:38, on a Windows 7 platform.


Thank you,
John

 
John Ojo MD, FMCPH

Monitoring  Evaluation Specialist
West African Regional Disease Surveillance (WARDS) Project
West Africa Health Organization (WAHO/ECOWAS)
Bobo-Dioulasso, Burkina Faso.

Mobile: +226 65897160+226 65897160
Skype:  Johnojo




___
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 1320755] [NEW] Replacing Number with Zero does not update Value in Data Entry

2014-05-19 Thread busoye

Hi Hardingt,

This might not be a bug. Check your data elements definition to see if  
you have checked Save Zero Values. If you have created the data  
elements as zero is not significant then the database will not store  
zero.


Hope this helps.

Best,

Busoye


Quoting hardingt hardi...@gmail.com:


Public bug reported:

Replacing a Data Element's value with a 0 will not update the database
(Number remains green, and derived indicators also will not update).

To circumvent, you must remove the 0 (or whatever number was there) all
together so that the data element is now blank. Then it will briefly
turn yellow and all indicators based on this data element will
automatically update.

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: I put 1, 2, 3, 4 into the fields, then  
replaced the 4 with a zero.

https://bugs.launchpad.net/bugs/1320755/+attachment/4115297/+files/Capture.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/1320755

Title:
  Replacing Number with Zero does not update Value in Data Entry

Status in DHIS 2:
  New

Bug description:
  Replacing a Data Element's value with a 0 will not update the database
  (Number remains green, and derived indicators also will not update).

  To circumvent, you must remove the 0 (or whatever number was there)
  all together so that the data element is now blank. Then it will
  briefly turn yellow and all indicators based on this data element will
  automatically update.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1320755/+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


Re: [Dhis2-devs] [Dhis2-users] Autorities in Userrole

2014-04-30 Thread busoye

Typically this would require at least 2 permissions

1) See Data Quality module (which I could not see for some reason in 2.15)

2) Add/update min/max

3) You can also give permission to delete min/max (best to use this caution)

Try (2) and see if it helps.

Regards,

Busoye

Quoting riddy ndoma riddynd...@gmail.com:


Hello,
I want to know the authority (privilege) to put in a role so that users
only accede to the Min-Max Outlier Analysis menu. As shown in the image
attached.

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





___
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] Autorities in Userrole

2014-04-30 Thread busoye

Hi
Just read read your email properly, and I don't think my initial reply  
will work. The permission is to create min/max rule rather than seeing  
the min/manx outlier analysis. As far as I can tell it seems there are  
presently no authorities defined for this (I may be wrong). In my mind  
you will need the See Data Quality Module and also permission that  
allows users to run the min-max outlier.



Quoting riddy ndoma riddynd...@gmail.com:


Hello,
I want to know the authority (privilege) to put in a role so that users
only accede to the Min-Max Outlier Analysis menu. As shown in the image
attached.

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





___
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] Autorities in Userrole

2014-04-30 Thread busoye
That's good. It means you can ignore the follow on message I sent  
about that being wrong.


Cheers

Busoye


Quoting riddy ndoma riddynd...@gmail.com:


Hi Busoye,
I tried adding:
Add / update Min / Max rule
Delete Min / Max rule.

It works now!


2014-04-30 11:20 GMT+01:00 riddy ndoma riddynd...@gmail.com:


Hi busoye.
I'm using 2.15.
As shown in the image attached (User role)


2014-04-30 11:12 GMT+01:00 bus...@hisp.org:

Typically this would require at least 2 permissions


1) See Data Quality module (which I could not see for some reason in 2.15)

2) Add/update min/max

3) You can also give permission to delete min/max (best to use this
caution)

Try (2) and see if it helps.

Regards,

Busoye

Quoting riddy ndoma riddynd...@gmail.com:

 Hello,

I want to know the authority (privilege) to put in a role so that users
only accede to the Min-Max Outlier Analysis menu. As shown in the image
attached.

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








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





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





___
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 1299420] [NEW] trunk 2.15 imported aggregate data elements not available in data set or aggregate domain filter in data elements

2014-03-30 Thread busoye

Hi Jason and Juan,

Thanks for your replies. The import was just meta data, so no data  
values. The issue I am having is that I can't assign the data elements  
to a data set which I need to be able to run my aggregate queries  
which feed into those elements.


I have attached a sample of the csv I imported.

Cheers.

Busoye



Quoting Jason Pickering jason.p.picker...@gmail.com:


If Busoye restarted the server, there would be no need to clear the cache,
so it must be something else.

It would be good to get a snippet of the CSV which you imported.

Also, can you confirm that the data values for the data elements in
question are actually not present in the database?

Regards,
Jason



On Sun, Mar 30, 2014 at 10:33 PM, Juan Manuel Alcantara Acosta 
jmalcanta...@gmail.com wrote:


Oh I see you didn't miss the restart to create the missing UIDs, did you
clear the server cache?
JM

El 30/03/2014, a las 04:55, Adebusoye Anifalaje bus...@hisp.org
escribió:

Hi Juan,
Thanks for the reply.
Not sure how this might be the problem since the UIDs were populated when
I restarted by servlet and all the UID fields are complete in my
dataelement table.

Cheers,

Busoye

On 30 Mar 2014, at 03:23, Juan Manuel Alcantara jmalcant...@apunto.com.mx
wrote:

Sounds like your imported data elements are missing the UID, when you edit
and save each data element, if it's missing the UID the system creates one
to complete the record.
Best regards,
JM
El 29/03/2014, a las 05:08, Adebusoye Anifalaje bus...@hisp.org
escribió:

Public bug reported:

Imported data elements directly into the database in Pgadmin through a
csv import. These data elements are not filtered on either Patient or
Aggregate. Also cannot assign them to a data set because they don't
appear in the options available. I was able to add them to data element
groups. If I go into each data element and save, then it's fine. Cleared
browser and application cache, tried incognito mode but all to no avail.
So think this might be a bug.

2.15-SNAPSHOT
Build revision:
14523

** Affects: dhis2
  Importance: Undecided
  Status: New

** Description changed:

Imported data elements directly into the database in Pgadmin through a
csv import. These data elements are not filtered on either Patient or
Aggregate. Also cannot assign them to a data set because they don't
appear in the options available. I was able to add them to data element
- groups. Cleared browser and application cache, tried incognito mode but
- all to no avail. So think this might be a bug.
+ groups. If I go into each data element and save, then it's fine. Cleared
+ browser and application cache, tried incognito mode but all to no avail.
+ So think this might be a bug.

2.15-SNAPSHOT
Build revision:
14523

--
You received this bug notification because you are subscribed to DHIS.
Matching subscriptions: DHIS2 Bug Mail
https://bugs.launchpad.net/bugs/1299420

Title:
trunk 2.15 imported aggregate data elements not available in data set
or aggregate domain filter in data elements

Status in DHIS 2:
New

Bug description:
Imported data elements directly into the database in Pgadmin through a
csv import. These data elements are not filtered on either Patient or
Aggregate. Also cannot assign them to a data set because they don't
appear in the options available. I was able to add them to data
element groups. If I go into each data element and save, then it's
fine. Cleared browser and application cache, tried incognito mode but
all to no avail. So think this might be a bug.

2.15-SNAPSHOT
Build revision:
14523

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


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

Title:
trunk 2.15 imported aggregate data elements not available in data set
or aggregate domain filter in data elements

Status in DHIS 2:
New

Bug description:
Imported data elements directly into the database in Pgadmin through a
csv import. These data elements are not filtered on either Patient or
Aggregate. Also cannot assign them to a data set because they don't
appear in the options available. I was able to add them to data
element groups. If I go into each data element and save, then it's
fine. Cleared browser and application cache, tried incognito mode but
all to no avail. So think this might be a bug.

2.15-SNAPSHOT
Build revision:
14523

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1299420/+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/1299420

Title:
 trunk 2.15 imported aggregate data elements not available in data set
 or aggregate domain filter in data elements

Status in DHIS 2:
 New

Bug description:
 Imported data elements directly into the database in Pgadmin through a
 csv import. These data elements

Re: [Dhis2-devs] [Bug 1299420] [NEW] trunk 2.15 imported aggregate data elements not available in data set or aggregate domain filter in data elements

2014-03-30 Thread busoye

Hi Morten,
How logical! Fixed. Thanks

Busoye


Quoting Morten Olav Hansen morte...@gmail.com:


Try with aggregate as the domain type, not Aggregate

--
Morten


On Mon, Mar 31, 2014 at 12:29 PM, bus...@hisp.org wrote:


Hi Jason and Juan,

Thanks for your replies. The import was just meta data, so no data values.
The issue I am having is that I can't assign the data elements to a data
set which I need to be able to run my aggregate queries which feed into
those elements.

I have attached a sample of the csv I imported.

Cheers.

Busoye




Quoting Jason Pickering jason.p.picker...@gmail.com:

 If Busoye restarted the server, there would be no need to clear the cache,

so it must be something else.

It would be good to get a snippet of the CSV which you imported.

Also, can you confirm that the data values for the data elements in
question are actually not present in the database?

Regards,
Jason



On Sun, Mar 30, 2014 at 10:33 PM, Juan Manuel Alcantara Acosta 
jmalcanta...@gmail.com wrote:

 Oh I see you didn't miss the restart to create the missing UIDs, did you

clear the server cache?
JM

El 30/03/2014, a las 04:55, Adebusoye Anifalaje bus...@hisp.org
escribió:

Hi Juan,
Thanks for the reply.
Not sure how this might be the problem since the UIDs were populated when
I restarted by servlet and all the UID fields are complete in my
dataelement table.

Cheers,

Busoye

On 30 Mar 2014, at 03:23, Juan Manuel Alcantara 
jmalcant...@apunto.com.mx
wrote:

Sounds like your imported data elements are missing the UID, when you
edit
and save each data element, if it's missing the UID the system creates
one
to complete the record.
Best regards,
JM
El 29/03/2014, a las 05:08, Adebusoye Anifalaje bus...@hisp.org
escribió:

Public bug reported:

Imported data elements directly into the database in Pgadmin through a
csv import. These data elements are not filtered on either Patient or
Aggregate. Also cannot assign them to a data set because they don't
appear in the options available. I was able to add them to data element
groups. If I go into each data element and save, then it's fine. Cleared
browser and application cache, tried incognito mode but all to no avail.
So think this might be a bug.

2.15-SNAPSHOT
Build revision:
14523

** Affects: dhis2
  Importance: Undecided
  Status: New

** Description changed:

Imported data elements directly into the database in Pgadmin through a
csv import. These data elements are not filtered on either Patient or
Aggregate. Also cannot assign them to a data set because they don't
appear in the options available. I was able to add them to data element
- groups. Cleared browser and application cache, tried incognito mode but
- all to no avail. So think this might be a bug.
+ groups. If I go into each data element and save, then it's fine.
Cleared
+ browser and application cache, tried incognito mode but all to no
avail.
+ So think this might be a bug.

2.15-SNAPSHOT
Build revision:
14523

--
You received this bug notification because you are subscribed to DHIS.
Matching subscriptions: DHIS2 Bug Mail
https://bugs.launchpad.net/bugs/1299420

Title:
trunk 2.15 imported aggregate data elements not available in data set
or aggregate domain filter in data elements

Status in DHIS 2:
New

Bug description:
Imported data elements directly into the database in Pgadmin through a
csv import. These data elements are not filtered on either Patient or
Aggregate. Also cannot assign them to a data set because they don't
appear in the options available. I was able to add them to data
element groups. If I go into each data element and save, then it's
fine. Cleared browser and application cache, tried incognito mode but
all to no avail. So think this might be a bug.

2.15-SNAPSHOT
Build revision:
14523

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


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

Title:
trunk 2.15 imported aggregate data elements not available in data set
or aggregate domain filter in data elements

Status in DHIS 2:
New

Bug description:
Imported data elements directly into the database in Pgadmin through a
csv import. These data elements are not filtered on either Patient or
Aggregate. Also cannot assign them to a data set because they don't
appear in the options available. I was able to add them to data
element groups. If I go into each data element and save, then it's
fine. Cleared browser and application cache, tried incognito mode but
all to no avail. So think this might be a bug.

2.15-SNAPSHOT
Build revision:
14523

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1299420/+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/1299420

Title:
 trunk 2.15 imported aggregate data elements

Re: [Dhis2-devs] [Bug 1286687] [NEW] selecting attributes for tracked entity throws exception

2014-03-03 Thread Busoye Anifalaje
Hi Tran,

Thanks for checking. I have upgraded and just tested again but got the same
Exception. Log copied below. Happy to supply any more details as required.


Thanks

Busoye

Version:

2.15-SNAPSHOT

Build revision:

14131


* ERROR 2014-03-03 13:06:24,859 ERROR: null value in column
programattributeid violates not-null constraint

  Detail: Failing row contains (null, null, 1, t, null, null, 232092,
232090). (SqlExceptionHelper.java [http-apr-8080-exec-6])

* ERROR 2014-03-03 13:06:24,859 Error while executing action
(ExceptionInterceptor.java [http-apr-8080-exec-6])

org.springframework.dao.DataIntegrityViolationException: could not execute
statement; SQL [n/a]; constraint [programattributeid]; nested exception is

org.hibernate.exception.ConstraintViolationException: could not execute
statement

at
org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:138)

at
org.springframework.orm.hibernate4.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:680)

at
org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:562)

at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)

at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)

at
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:475)

at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:270)

at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at com.sun.proxy.$Proxy32.updateProgram(Unknown Source)

at
org.hisp.dhis.trackedentity.action.program.AddProgramAction.execute(AddProgramAction.java:322)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)

at
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)

at
org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.intercept(XWorkPortalUserInterceptor.java:88)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

at
org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.intercept(XWorkPortalModuleInterceptor.java:93)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

at
org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.intercept(XWorkPortalMenuInterceptor.java:97)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

at
org.hisp.dhis.webportal.interceptor.XWorkPortalParamsInterceptor.intercept(XWorkPortalParamsInterceptor.java:147)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

at
org.hisp.dhis.interceptor.ContextInterceptor.intercept(ContextInterceptor.java:83)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

at
org.hisp.dhis.interceptor.UserSettingInterceptor.intercept(UserSettingInterceptor.java:81)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

at
org.hisp.dhis.security.intercept.LoginInterceptor.intercept(LoginInterceptor.java:85)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

at
org.hisp.dhis.security.intercept.XWorkSecurityInterceptor.intercept(XWorkSecurityInterceptor.java:113)

at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

at
org.hisp.dhis.interceptor.SystemSettingInterceptor.intercept(SystemSettingInterceptor.java:108)

at
com.opensymphony.xwork2

Re: [Dhis2-devs] [Dhis2-users] Entering Monthly Data for Future Periods - beyond December 2013

2013-10-01 Thread Busoye Anifalaje
Hi Jason,

Your reply was much appreciated.

I had populated the period table with the months I needed and can actually
see this in the pdf data entry version (see attachments from previous
email). The problem I am having is that I can't see these months in the
data entry screen. Is there a way around this or anything else I need to do
to allow the later periods to be visible for data entry?

Many thanks.

Busoye



On 30 September 2013 07:11, Jason Pickering jason.p.picker...@gmail.comwrote:

 Hi Busoye,
 I think the problem is that these periods have not been generated yet. In
 the past, we have generated them using SQL. Something like


 INSERT INTO period
 SELECT nextval('hibernate_sequence'::regclass) as periodid ,
 (SELECT periodtypeid from periodtype where name = 'Monthly')  periodtypeid,
  (startdate + '1 year'::interval)::date as startdate,
  (enddate + '1 year'::interval)::date as enddate
  from period
  where periodtypeid = (SELECT periodtypeid from periodtype where name =
 'Monthly')
  and startdate = '2013-01-01' and enddate ='2013-12-31'

 This is a really basic statement, and would not check for things like
 periods which already exist so you might need to tweak it a bit.

 There should really be a method to pre-generate future periods, but I am
 not sure this exists.

 Regards,
 Jason




 On Sun, Sep 29, 2013 at 5:20 PM, Adebusoye Anifalaje bus...@hisp.orgwrote:

 Just an update

 I have added 2014 monthly data to the Period table. I still can't see the
 periods in the data entry screen (see file attached) but when I use the
 Get pdf for Data Entry function in the data set module, I can see the
 future periods displayed (see attached).

 Any insight would be much appreciated.

 Many thanks.

 Regards,
 Busoye


 On 29 Sep 2013, at 09:17, Adebusoye Anifalaje bus...@hisp.org wrote:

 Hi all,

 Can anyone help with getting around entering monthly data for future
 periods beyond what is available by default?

 I have a use case where users need to enter data for months in 2014
 (these are advance monthly payments) but currently the future periods
 allowed do not extend beyond December 2013. The Next Year function does
 not make a difference here.

 It is critical that the data is entered monthly rather than yearly. It is
 also important that users can enter data in (theoretically) unlimited
 periods in the future if the case arises that payment is made up until tim
 t.

 Thaks

 Busoye

 DHIS2.12
 Build: 11285
 ___
 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