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...@lists.launchpad.net> on behalf of 
Eric Barreda Prades <ericbarre...@gmail.com>
Date: Wednesday, 14 November 2018 at 15:16
To: "hend...@dhis2.org" <hend...@dhis2.org>
Cc: DHIS2 Developers <dhis2-devs@lists.launchpad.net>
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 
(<hend...@dhis2.org<mailto:hend...@dhis2.org>>) 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 
<ericbarre...@gmail.com<mailto:ericbarre...@gmail.com>>, 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@lists.launchpad.net<mailto: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

Reply via email to