dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #52097
Re: Impossible to create a Program Stage through UI
Hi Devs,
I made this same mistake the first time I tried using the new 2.30 interface, so it would be great if we could correct the label on this button in the create/edit Program Stage screen – I’ve reported it as https://jira.dhis2.org/browse/DHIS2-5277.
Cheers, Sam.
From: Dhis2-devs <dhis2-devs-bounces+samuel.johnson=qebo.co.uk@xxxxxxxxxxxxxxxxxxx> on behalf of Eric Barreda Prades <ericbarredap@xxxxxxxxx>
Date: Wednesday, 14 November 2018 at 15:16
To: "hendrik@xxxxxxxxx" <hendrik@xxxxxxxxx>
Cc: DHIS2 Developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Dhis2-devs] Impossible to create a Program Stage through UI
Hi Hendrik,
Oh... yes that was the "issue". Quite awkard from my side, I'm sorry... thanks for the response and for your time :)
Best,
Eric
El mié., 14 nov. 2018 a las 13:08, Hendrik de Graaf (<hendrik@xxxxxxxxx<mailto:hendrik@xxxxxxxxx>>) escribió:
Hi Eric,
Thanks for reporting this problem. I tried reproducing this on https://play.dhis2.org/2.31-rc1/ and I think what you are experiencing might be an unclear UI, not a bug.
What I did to save a program stage:
1. Create or Edit a tracker program
2. Go to section 4 - Program stages
3. Add a new stage
4. Click “save" on the program-stage-form
5. Click “save” on the tracker-program-form
Without step 5 nothing gets saved and you will see the behaviour you describe. I suspect that that is what is going on.
Step 5 is an easy one to miss because at the bottom of the program-stage-form you also see a “save” button. Clicking this doesn’t actually trigger a request to the server, it simply adds a stage to the program in the client. Only after clicking “save" on the main form an API call is triggered and the event-program (with its updated stages) is actually persisted in the DB.
Could you confirm that this is what's going on?
Thanks,
Hendrik
On 12 Nov 2018, 19:09 +0100, Eric Barreda Prades <ericbarredap@xxxxxxxxx<mailto:ericbarredap@xxxxxxxxx>>, wrote:
Dear devs,
I cannot create a Program Stage through a Maintenance App. Steps to reproduce it:
- Add a program Stage. The programStage seems to be added (screenshot1). However I see nothing from console and the programstage cannot be found from API.
- If I refresh the page, the programStage disappears. (screenshot2)
However, I've tried to create the programStage via POST call and found no issue. Tested in 2.29 version and 2.31, but not in 2.30 (system is down, although I think I will get the same error). As this behaviour is quite weird and silly I prefered to verify on the list whether this is actually a bug or I am missing something.
Best,
Eric
_______________________________________________
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
References