← Back to team overview

dhis2-devs team mailing list archive

Bug - cannot schedule events in Tracker Capture

 

Hi Abyot,

I’ve come across what looks like a new bug introduced into Tracker Capture in 2.26 – I don’t seem to be able to schedule events.  Although I’ve not used periods in my Tracker programs, I’m wondering if the fix discussed in the thread below has triggered this new bug?

In 2.26, both the calendar icon and the ‘ask user to create new event when stage is complete’ option now generate an open event instead of a scheduled event.  (In 2.25, both of these correctly create a scheduled event instead of an open event.)  Note that the one thing that still works fine is if the booking is auto-generated on enrolment – this still schedules rather than creates the event.)

To reproduce this in the Play demo website:

1.       Open Tracker Capture, select Ngelehun CHC, and register a new patient for the WHO RMNCH Tracker (first visit = 2017-01-01).

2.       Complete the ‘First antenatal care visit’, which triggers a prompt to ‘Schedule new event for stage Antenatal care visit’ – a new ‘open’ visit is created instead of a scheduled visit (a future ‘open’ event shouldn’t be possible!).

3.       Use the ‘+’ icon to create a new event for 2017-02-01 – a new ‘open’ visit is correctly created.

4.       Use the calendar icon to schedule a new event (booking) for 2017-03-01 – a new ‘open’ visit is created, instead of a scheduled visit.

I’ve reported this as https://jira.dhis2.org/browse/DHIS2-1438.  This is an extremely important bug, as users in other facilities can only update scheduled events (bookings) – so this bug also breaks the awesomely useful feature you restored in https://jira.dhis2.org/browse/DHIS2-623.

Cheers, Sam.


From: Dhis2-users <dhis2-users-bounces+samuel.johnson=qebo.co.uk@xxxxxxxxxxxxxxxxxxx> on behalf of Absolom MURAMIRA <absolom_m@xxxxxxxxx>
Reply-To: "absolom_m@xxxxxxxxx" <absolom_m@xxxxxxxxx>
Date: Thursday, 2 March 2017 at 20:03
To: Abyot Asalefew Gizaw <abyot@xxxxxxxxx>, Immaculate Ayebazibwe <ekassy29@xxxxxxxxx>
Cc: DHIS Users <dhis2-users@xxxxxxxxxxxxxxxxxxx>, DHIS2 Developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Dhis2-users] [Dhis2-devs] Fw: Tracker Events period issue

Dear Abyot,

Thank you for the update. We also look forward for the periodic fix.

Absolom

Sent from Yahoo Mail on Android<https://overview.mail.yahoo.com/mobile/?.src=Android>

On Thu, 2 Mar 2017 at 11:34, Abyot Asalefew Gizaw
<abyot@xxxxxxxxx> wrote:
Hi,

We have now made a limited fix in 2.26.

Here is what is supported at the moment:

- scheduling periodic events is not supported at the moment
- creation of events is possible
- once created, editing the event's period is not possible
- normally we store, the end date of the period as event date

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Feb 28, 2017 at 3:09 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx<javascript:return>> wrote:
sorry the other way round - the calendar icon not the plus icon!

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Feb 28, 2017 at 3:09 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx<javascript:return>> wrote:
You need to click the plus icon not the calendar icon

[nline image 3]

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Feb 28, 2017 at 2:27 PM, Immaculate Ayebazibwe <ekassy29@xxxxxxxxx<javascript:return>> wrote:
Hi Abyot,

Based on your explanation, even when you use only date, it will not go beyond a given year.
For example it will show only dates within 2017, or dates within 2016.



Thank you and Kind Regards
Immarcqulate. A (Emma Kassy)

"You miss 100% of the shots you don't take."

On Tue, Feb 28, 2017 at 1:31 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx<javascript:return>> wrote:
Hi,

Trying to clarify in case there is a misunderstanding in the creation of event in tracker capture

  *   events have two types of dates - event date and due date
  *   future date is allowed for due date not for event date as the event date is the date where the event has happened
  *   the plus icon is to "Add new" while the calendar icon is to "Schedule new"
A problem we have is for those events with period type - like daily, weekly, monthly, yearly.... For those without period type, but only date, the system works as expected.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Feb 28, 2017 at 11:00 AM, Stanley Kalyati <skalyati@xxxxxxxxx<javascript:return>> wrote:
I have the same issue but i have resorted to using the Mobile Tracker Capture instead as it gives an opportunity to backtrack dates.

Unless there is another way round but I find the mobile version ideal in this scenario

On Feb 27, 2017 8:27 PM, "Absolom MURAMIRA" <absolom_m@xxxxxxxxx<javascript:return>> wrote:
Someone please help



On Friday, February 24, 2017 8:01 AM, Absolom MURAMIRA <absolom_m@xxxxxxxxx<javascript:return>> wrote:

Dear Community,

I have a program in Tracker (DHIS v2.26) configured with 2 repeatable program stages. My issue is that when i try to add new events, I am not able to see months/year for 2017. it is only stuck in 2016. Has anyone encountered this before and willing to advise how i can resolve it?
Thank you.

Absolom



______________________________ _________________
Mailing list: https://launchpad.net/~dhis2-u sers
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxx<javascript:return> t
Unsubscribe : https://launchpad.net/~dhis2-u sers
More help   : https://help.launchpad.net/Lis tHelp

______________________________ _________________
Mailing list: https://launchpad.net/~dhis2-d evs<https://launchpad.net/~dhis2-devs>
Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx<javascript:return>
Unsubscribe : https://launchpad.net/~dhis2-d evs<https://launchpad.net/~dhis2-devs>
More help   : https://help.launchpad.net/Lis tHelp<https://help.launchpad.net/ListHelp>


______________________________ _________________
Mailing list: https://launchpad.net/~dhis2-u sers<https://launchpad.net/~dhis2-users>
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxx t<javascript:return>
Unsubscribe : https://launchpad.net/~dhis2-u sers<https://launchpad.net/~dhis2-users>
More help   : https://help.launchpad.net/Lis tHelp<https://help.launchpad.net/ListHelp>




PNG image