dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #49228
Re: Bug - cannot schedule events in Tracker Capture
Hi Markus,
Although I tested your fix for this when it was released, and it worked well in update 9a5f6d0 (25 April), this bug appears to have returned in the latest update 2e93869 (1 May) of 2.26. What’s odd is that I can’t see any commits to the origin/v26 branch of tracker-capture-app since you made that change on 25 April – is this now possibly a build error, or perhaps an underlying API issue?
This bug is very straightforward to reproduce – just use the calendar icon to schedule an event, and it instead creates the event. I’ve updated the existing Jira issue (DHIS2-1438<https://jira.dhis2.org/browse/DHIS2-1438>) with a comment – would it be possible to also re-open this issue?
Another bug also appears to have been introduced in both versions: the ‘Display generate event box after completed’ option no longer seems to be working. This should (for repeatable program stages) prompt the user to schedule a future event at the appropriate interval – but now nothing happens at all. (You can replicate this on Play Demo in the RMNCH Tracker, by first setting the ‘standard interval days’ of the ‘Antenatal care visit’ program stage, then creating an event and ‘completing’ it – it fails to prompt you to schedule a follow-up ‘Antenatal care visit’.) I’ve logged this as DHIS2-1507<https://jira.dhis2.org/browse/DHIS2-1507>.
I’d be very grateful if you’re able to find time to look at this again, as these two bugs have once again broken the Tracker in 2.26.
Many thanks, Sam.
From: Markus Bekken <markus@xxxxxxxxx>
Date: Tuesday, 25 April 2017 at 23:21
To: Sam Johnson <samuel.johnson@xxxxxxxxxx>
Cc: DHIS2 Developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx>, "absolom_m@xxxxxxxxx" <absolom_m@xxxxxxxxx>, Immaculate Ayebazibwe <ekassy29@xxxxxxxxx>
Subject: Re: [Dhis2-devs] Bug - cannot schedule events in Tracker Capture
Hey Sam!
Thanks for pushing this up the priority list. It was a relatively small fix, new versions of 2.26 and 2.27 snapshot are ready to download.
Best regards,
Markus
25. apr. 2017 kl. 17.35 skrev Sam Johnson <samuel.johnson@xxxxxxxxxx<mailto:samuel.johnson@xxxxxxxxxx>>:
Hi devs,
Just following up on the bug below (DHIS2-1438<https://jira.dhis2.org/browse/DHIS2-1438>). I realize Abyot is on leave (congratulations! ☺), but this ticket is still assigned to him – is there anyone else who might be able to pick this up?
This bug is quite urgent, as it has effectively crippled the Tracker in 2.26. But I’m guessing that’s it’s just a case of the wrong code being fired, so should hopefully be fairly simple to fix?
Cheers, Sam.
From: Dhis2-devs <dhis2-devs-bounces+samuel.johnson=qebo.co.uk@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs-bounces+samuel.johnson=qebo.co.uk@xxxxxxxxxxxxxxxxxxx>> on behalf of Sam Johnson <samuel.johnson@xxxxxxxxxx<mailto:samuel.johnson@xxxxxxxxxx>>
Date: Tuesday, 18 April 2017 at 19:55
To: Abyot Asalefew Gizaw <abyot@xxxxxxxxx<mailto:abyot@xxxxxxxxx>>, DHIS2 Developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>>
Cc: "absolom_m@xxxxxxxxx<mailto:absolom_m@xxxxxxxxx>" <absolom_m@xxxxxxxxx<mailto:absolom_m@xxxxxxxxx>>, Immaculate Ayebazibwe <ekassy29@xxxxxxxxx<mailto:ekassy29@xxxxxxxxx>>
Subject: [Dhis2-devs] Bug - cannot schedule events in Tracker Capture
This sender failed our fraud detection checks and may not be who they appear to be. Learn about spoofing<http://aka.ms/LearnAboutSpoofing>
Feedback<http://aka.ms/SafetyTipsFeedback>
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 toschedule 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<mailto:dhis2-users-bounces+samuel.johnson=qebo.co.uk@xxxxxxxxxxxxxxxxxxx>> on behalf of Absolom MURAMIRA <absolom_m@xxxxxxxxx<mailto:absolom_m@xxxxxxxxx>>
Reply-To: "absolom_m@xxxxxxxxx<mailto:absolom_m@xxxxxxxxx>" <absolom_m@xxxxxxxxx<mailto:absolom_m@xxxxxxxxx>>
Date: Thursday, 2 March 2017 at 20:03
To: Abyot Asalefew Gizaw <abyot@xxxxxxxxx<mailto:abyot@xxxxxxxxx>>, Immaculate Ayebazibwe <ekassy29@xxxxxxxxx<mailto:ekassy29@xxxxxxxxx>>
Cc: DHIS Users <dhis2-users@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>>, DHIS2 Developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto: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<mailto: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<http://www.dhis2.org/>
On Tue, Feb 28, 2017 at 3:09 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx> 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<http://www.dhis2.org/>
On Tue, Feb 28, 2017 at 3:09 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx> wrote:
You need to click the plus icon not the calendar icon
<image001.png>
--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org<http://www.dhis2.org/>
On Tue, Feb 28, 2017 at 2:27 PM, Immaculate Ayebazibwe <ekassy29@xxxxxxxxx> 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> 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<http://www.dhis2.org/>
On Tue, Feb 28, 2017 at 11:00 AM, Stanley Kalyati <skalyati@xxxxxxxxx> 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> wrote:
Someone please help
On Friday, February 24, 2017 8:01 AM, Absolom MURAMIRA <absolom_m@xxxxxxxxx> 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 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
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
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>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Follow ups
References