[Dhis2-devs] Program validation rule firing on form load

2016-04-07 Thread Jason Pickering
Hi there. We have designed an inpatient discharge event capture program modeled on the "Inpatient morbidity and mortality" program on the demo site. We have defined a validation rule that the discharge date should be greater than the Admission date <= Discharge date. When ever we attempt to regi

Re: [Dhis2-devs] Attribute Option Combo Value

2016-04-07 Thread Mugeni Harold
Hi Morten, Thank you for the reply, but we realized that after importing the data, when we checked the reporting rate for that month, it was saying that no data had been reported for that period, until we went into data entry and for that form and period, though we could see the data, we had

[Dhis2-devs] [Bug 1554305] Re: Category option attribute with value type yes/no is not save value

2016-04-07 Thread Thuy Nguyen
Hi Mark Polak Can you please check again. Because I just test this morning, the snapshot demo didnt work, and stable demo work. But now when I test again, the stable demo 2.22 doesn't work, and snapshot work. -- You received this bug notification because you are a member of DHIS 2 developers, w

[Dhis2-devs] Data Validation does not run - Tomcat log aborts

2016-04-07 Thread Calle Hedberg
Hi I've a strange problem. Version 2.20, and the start was an instance where data integrity was running normally. After importing some data and making various updates, data validation now fails to run and the tomcat log only shows the following: * ERROR 2016-04-07 11:16:26,155 Unexpected error o

[Dhis2-devs] [Bug 1554305] Re: Category option attribute with value type yes/no is not save value

2016-04-07 Thread Thuy Nguyen
Hi Mark, It is now like I create a new category option with yes/no attribute, I check the box and save this category option. In api, i see category option has attribute save as 'true' The next step I view edit the category option, the check box is blank (unchecked) => it should show as check

[Dhis2-devs] Resource Table error

2016-04-07 Thread channara rin
Dear friend, when i run analytic, i always got error like below. how to fix this problem? == Resource table process failed Resource table process failed, please check the logs. Time: 2016-04-07T21:45:16.145+07:00. Message: PreparedStatementCallback; SQL [ins

Re: [Dhis2-devs] [Dhis2-users] Resource Table error

2016-04-07 Thread Alex Tumwesigye
Dear Channara, I think this bug was fixed. The date "1975-01-01" is duplicated. check your period table for any anomaly for that date. Alex On Thu, Apr 7, 2016 at 6:02 PM, channara rin wrote: > Dear friend, > when i run analytic, i always got error like below. how to fix this > problem? > > ==

Re: [Dhis2-devs] [Dhis2-users] Resource Table error

2016-04-07 Thread Knut Staring
Hi Channara, It seems to me that the problem is that the _dateperiodstructure table has not been dropped (not sure why). Then when you try to regenerate it, it tries to insert the same values, starting from 1975-01-01 (which is the first row in the table) On Thu, Apr 7, 2016 at 6:01 PM, channara

Re: [Dhis2-devs] [Dhis2-users] Resource Table error

2016-04-07 Thread Alex Tumwesigye
Channara, The issue is related to timezone and was fixed. Upgrade to at least 2.20 or 2.21 but you have to first remove the duplicate period. Alex On Thu, Apr 7, 2016 at 7:08 PM, Knut Staring wrote: > Hi Channara, > > It seems to me that the problem is that the _dateperiodstructure table > has

Re: [Dhis2-devs] [Dhis2-users] Resource Table error

2016-04-07 Thread channara rin
dear Alex, what you mean was fixed? i currently using: Version:2.19Build revision:19251Build date:2015-07-01 02:04 On Thu, Apr 7, 2016 at 10:46 PM, Alex Tumwesigye wrote: > Dear Channara, > > I think this bug was fixed. > The date "1975-01-01" is duplicated. > check your period table for any ano

Re: [Dhis2-devs] Program validation rule firing on form load

2016-04-07 Thread Ola Hodne Titlestad
Hi Jason, I'm not 100% sure, but I was under the impression that the new program rules feature would replace the validation rules in Tracker (event and tracker capture). I see they are still both there, also in trunk, but I would guess program rules are both more powerful and better supported, an

Re: [Dhis2-devs] [Dhis2-users] Resource Table error

2016-04-07 Thread Knut Staring
Agree with Alex that you should really try to do an upgrade - just please make sure to back up everything first! However, I notice you had the same problem in October? Was it solve then and now it has come back - or have you had the problem now for 6 months? https://lists.launchpad.net/dhis2-user

Re: [Dhis2-devs] Option Set keyboard selection not working

2016-04-07 Thread Laura E. Lincks
We've discovered a bug in regard to using an Option Set (at least in regard to tracker capture forms.) In my above example where I use an option set consisting of 4 numeric responses, typing a '2' did not filter down to just the value of '2'. It appears that when typing a value on the option list,

Re: [Dhis2-devs] [Dhis2-users] Resource Table error

2016-04-07 Thread channara rin
dear alex, how can i do for remove duplicate period? Yes, right knut. by the way, if i upgrade to v2.20, that version doesn't have individual record function, so my problem is i don't want to run aggregate data automatic. On Thu, Apr 7, 2016 at 11:29 PM, Knut Staring wrote: > Agree with Alex tha

[Dhis2-devs] [Bug 1567570] [NEW] typed Option Set entries filter too broadly

2016-04-07 Thread Laura E. Lincks
Public bug reported: We've discovered a bug in regard to using an Option Set (at least in regard to tracker capture forms.) Version: 2.22 Build revision: 21878 Chrome Version 49.0.2623.110 m We are using Tracker Capture to collect data for a simple survey (Survey questions are set up as data ele

[Dhis2-devs] Console displays warning when Editing an Event Detail

2016-04-07 Thread Laura E. Lincks
Version:2.22Build revision:21973 We're getting warning messages messages in the DevTools console when we bring up an Event Detail in edit mode: Variable #{DatacheckCD4} is linked to a dataelement that is not part of the > program > angular.js:102 (Edit in grid does not produce the warning.) We

Re: [Dhis2-devs] Console displays warning when Editing an Event Detail

2016-04-07 Thread Laura E. Lincks
This also happens when registering a new event. *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 On Thu, Apr 7, 2016 at 5:46 PM, Laura E. Lincks < laura.lin...@icap.columbia.edu> wro

[Dhis2-devs] Pop up warning when Editing Event Detail and Screen rendering issues in Tracker/Event Capture

2016-04-07 Thread Laura E. Lincks
Version:2.22Build revision:21973 The following pop up displays every time we attempt to edit an Event Detail We're also often having difficulty viewing data in Event Capture and Tracker Capture... Org Unit trees don't display in their entirety... Programs don't appear in the pulldown... existi

Re: [Dhis2-devs] [Dhis2-users] Program validation rule firing on form load

2016-04-07 Thread Jason Pickering
Thanks Ola. We will give that a try. If I am understanding you correctly, the plan is to completely deprecate the validation rules in favor of program rules for tracker/events? Regards, Jason On Fri, Apr 8, 2016 at 1:24 AM, Ola Hodne Titlestad wrote: > Hi Jason, > > I'm not 100% sure, but I w

[Dhis2-devs] "All" authority no longer granting access to programs?

2016-04-07 Thread Timothy Harding
Hey devs, Just wanting to make sure of this: It looks like in version 2.21 and beyond, the "ALL" authority no longer gives the super user access to *everything* (about the same time programs were given their own entry in the roles). This means when that user makes a new (public) program, they need

Re: [Dhis2-devs] "All" authority no longer granting access to programs?

2016-04-07 Thread Morten Olav Hansen
Yes, that is correct. I'm not sure when it was decided so, but you need to give the userrole access to that program. Maybe Abyot remember exactly why? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Apr 8, 2016 at 9:51 AM, Timothy Harding wrote: >