Re: [Dhis2-devs] Play demo password

2018-10-29 Thread Knut Staring
Think it is only replaced once daily. You can use "D1$trict" for now

On Mon, Oct 29, 2018 at 4:46 PM Sam Johnson 
wrote:

> Hi all,
>
>
>
> I think someone has changed the ‘admin’ password on play.dhis2.org/demo,
> and everyone is locked out – is this instance not still set up to reset
> itself every 5-10mins (see below)?
>
>
>
> Cheers, Sam.
>
>
>
> *From: *Lars Helge Øverland 
> *Date: *Monday, 9 January 2017 at 04:09
> *To: *Morten Olav Hansen 
> *Cc: *Sam Johnson , DHIS2 Developers <
> dhis2-devs@lists.launchpad.net>
> *Subject: *Re: [Dhis2-devs] Play demo password
>
>
>
> Hi Sam,
>
>
>
> Jason has added a script for resetting the password now.
>
>
>
> Lars
>
>
>
>
>
> On Thu, Jan 5, 2017 at 2:18 AM, Morten Olav Hansen 
> wrote:
>
> Hi Sam
>
>
>
> It should be reset in about 2-3 hours automatically.
>
>
>
> I thought we had this blocked now, Jason?
>
>
> --
>
> Morten Olav Hansen
>
> Senior Engineer, DHIS 2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Thu, Jan 5, 2017 at 6:33 AM, Sam Johnson 
> wrote:
>
> Hi Devs,
>
>
>
> Looks like someone’s changed the ‘admin’ password on play.dhis2.org/demo
> again, and we can’t log in – would it be possible to get it reset?
>
>
>
> Re: the suggestion below, would it be worth scripting a quick chron job
> that runs every five minutes to update the ‘admin’ password back to
> ‘district’ if it has changed?
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Dhis2-devs  qebo.co...@lists.launchpad.net> on behalf of Sam Johnson <
> samuel.john...@qebo.co.uk>
> *Date: *Friday, 11 November 2016 at 04:50
> *To: *Victor Garcia , DHIS2 Developers <
> dhis2-devs@lists.launchpad.net>
> *Subject: *[Dhis2-devs] Play demo password
>
>
>
> Hi all,
>
>
>
> Re: Victor’s note about being locked out of the demo server, this sort of
> lock-out has happened a few times recently.  Would it perhaps be worth
> setting up a chron job that runs every five minutes to update the ‘admin’
> user password back to ‘district’ if it has changed?
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Dhis2-devs  qebo.co...@lists.launchpad.net> on behalf of Victor Garcia <
> vgarcia...@gmail.com>
> *Date: *Thursday, 10 November 2016 at 09:05
> *To: *DHIS2 Developers 
> *Subject: *[Dhis2-devs] Program rule actions of type ASSIGN not working
> on SCHEDULED events
>
>
>
> Hi all,
>
>
>
> we have noticed a buggy behavior when using program rule actions of type
> ASSIGN in scheduled events. The program rule is correctly evaluated, but
> the program rule action does not assign the desired value to the
> dataelement in that event. This happens only when the event is created
> using the visit scheduler. If the event is created using the "Add new
> event" button the program rule action works fine.
>
>
>
> The steps to reproduce the issue:
>
> 1. Create a programRuleVariable of type "DATAELEMENT_CURRENT_EVENT" with
> the dataelement we want to copy.
>
> 2. Create a programRule limited to that programStage.
>
> 3. Assign a programRuleAction of type ASSIGN, with the previously crated
> programRuleVariable as the "data" and a dataelement as the target.
>
>
>
> I couldn't access demo server to reproduce the issue (it seems that admin
> password has been changed), but I did in dev server and created an example
> that you can easily verify until it is reset tonight. It is in the program
> "WHO RMNCH Tracker", in the stage "Postpartum care visit". I added a new
> dataelement called "Copy HIV test result" just below "HIV test result" that
> copies its value. You can verify that if the stage is created using the
> "Add event button" the value is correctly copied; but it the stage is added
> using the visit scheduler, the value is not copied.
>
>
>
> If there is doubt please let me know.
>
>
>
> Thank you!
>
>
>
> Víctor
>
>
>
> ___
> 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
>
>
>
>
> ___
> 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
>
>
>
>
>
> --
>
&

Re: [Dhis2-devs] Play demo password

2018-10-29 Thread Sam Johnson
Many thanks!  To help any users trying to access the demo site today, I’ve 
updated the login page to show this new password.

Since this password hash is just held in the database, my understanding is that 
it shouldn’t be difficult to script a chron job that tests whether the password 
has been changed, and then re-updates it to the default value if necessary.  I 
think this was set up a while ago (see email thread below) – would it be 
difficult to re-implement it?

Cheers, Sam.


From: Knut Staring 
Date: Monday, 29 October 2018 at 11:58
To: Sam Johnson 
Cc: Lars Helge Øverland , Morten Olav Hansen 
, DHIS2 Developers 
Subject: Re: [Dhis2-devs] Play demo password

Think it is only replaced once daily. You can use "D1$trict" for now

On Mon, Oct 29, 2018 at 4:46 PM Sam Johnson 
mailto:samuel.john...@qebo.co.uk>> wrote:
Hi all,

I think someone has changed the ‘admin’ password on 
play.dhis2.org/demo<http://play.dhis2.org/demo>, and everyone is locked out – 
is this instance not still set up to reset itself every 5-10mins (see below)?

Cheers, Sam.

From: Lars Helge Øverland mailto:l...@dhis2.org>>
Date: Monday, 9 January 2017 at 04:09
To: Morten Olav Hansen mailto:mor...@dhis2.org>>
Cc: Sam Johnson mailto:samuel.john...@qebo.co.uk>>, 
DHIS2 Developers 
mailto:dhis2-devs@lists.launchpad.net>>
Subject: Re: [Dhis2-devs] Play demo password

Hi Sam,

Jason has added a script for resetting the password now.

Lars


On Thu, Jan 5, 2017 at 2:18 AM, Morten Olav Hansen 
mailto:mor...@dhis2.org>> wrote:
Hi Sam

It should be reset in about 2-3 hours automatically.

I thought we had this blocked now, Jason?

--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Thu, Jan 5, 2017 at 6:33 AM, Sam Johnson 
mailto:samuel.john...@qebo.co.uk>> wrote:
Hi Devs,

Looks like someone’s changed the ‘admin’ password on 
play.dhis2.org/demo<http://play.dhis2.org/demo> again, and we can’t log in – 
would it be possible to get it reset?

Re: the suggestion below, would it be worth scripting a quick chron job that 
runs every five minutes to update the ‘admin’ password back to ‘district’ if it 
has changed?

Cheers, Sam.


From: Dhis2-devs 
mailto:qebo.co...@lists.launchpad.net>>
 on behalf of Sam Johnson 
mailto:samuel.john...@qebo.co.uk>>
Date: Friday, 11 November 2016 at 04:50
To: Victor Garcia mailto:vgarcia...@gmail.com>>, DHIS2 
Developers 
mailto:dhis2-devs@lists.launchpad.net>>
Subject: [Dhis2-devs] Play demo password

Hi all,

Re: Victor’s note about being locked out of the demo server, this sort of 
lock-out has happened a few times recently.  Would it perhaps be worth setting 
up a chron job that runs every five minutes to update the ‘admin’ user password 
back to ‘district’ if it has changed?

Cheers, Sam.


From: Dhis2-devs 
mailto:qebo.co...@lists.launchpad.net>>
 on behalf of Victor Garcia mailto:vgarcia...@gmail.com>>
Date: Thursday, 10 November 2016 at 09:05
To: DHIS2 Developers 
mailto:dhis2-devs@lists.launchpad.net>>
Subject: [Dhis2-devs] Program rule actions of type ASSIGN not working on 
SCHEDULED events

Hi all,

we have noticed a buggy behavior when using program rule actions of type ASSIGN 
in scheduled events. The program rule is correctly evaluated, but the program 
rule action does not assign the desired value to the dataelement in that event. 
This happens only when the event is created using the visit scheduler. If the 
event is created using the "Add new event" button the program rule action works 
fine.

The steps to reproduce the issue:
1. Create a programRuleVariable of type "DATAELEMENT_CURRENT_EVENT" with the 
dataelement we want to copy.
2. Create a programRule limited to that programStage.
3. Assign a programRuleAction of type ASSIGN, with the previously crated 
programRuleVariable as the "data" and a dataelement as the target.

I couldn't access demo server to reproduce the issue (it seems that admin 
password has been changed), but I did in dev server and created an example that 
you can easily verify until it is reset tonight. It is in the program "WHO 
RMNCH Tracker", in the stage "Postpartum care visit". I added a new dataelement 
called "Copy HIV test result" just below "HIV test result" that copies its 
value. You can verify that if the stage is created using the "Add event button" 
the value is correctly copied; but it the stage is added using the visit 
scheduler, the value is not copied.

If there is doubt please let me know.

Thank you!

Víctor

___
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


_

Re: [Dhis2-devs] Play demo password

2018-10-29 Thread Sam Johnson
Hi all,

I think someone has changed the ‘admin’ password on play.dhis2.org/demo, and 
everyone is locked out – is this instance not still set up to reset itself 
every 5-10mins (see below)?

Cheers, Sam.

From: Lars Helge Øverland 
Date: Monday, 9 January 2017 at 04:09
To: Morten Olav Hansen 
Cc: Sam Johnson , DHIS2 Developers 

Subject: Re: [Dhis2-devs] Play demo password

Hi Sam,

Jason has added a script for resetting the password now.

Lars


On Thu, Jan 5, 2017 at 2:18 AM, Morten Olav Hansen 
mailto:mor...@dhis2.org>> wrote:
Hi Sam

It should be reset in about 2-3 hours automatically.

I thought we had this blocked now, Jason?

--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Thu, Jan 5, 2017 at 6:33 AM, Sam Johnson 
mailto:samuel.john...@qebo.co.uk>> wrote:
Hi Devs,

Looks like someone’s changed the ‘admin’ password on 
play.dhis2.org/demo<http://play.dhis2.org/demo> again, and we can’t log in – 
would it be possible to get it reset?

Re: the suggestion below, would it be worth scripting a quick chron job that 
runs every five minutes to update the ‘admin’ password back to ‘district’ if it 
has changed?

Cheers, Sam.


From: Dhis2-devs 
mailto:qebo.co...@lists.launchpad.net>>
 on behalf of Sam Johnson 
mailto:samuel.john...@qebo.co.uk>>
Date: Friday, 11 November 2016 at 04:50
To: Victor Garcia mailto:vgarcia...@gmail.com>>, DHIS2 
Developers 
mailto:dhis2-devs@lists.launchpad.net>>
Subject: [Dhis2-devs] Play demo password

Hi all,

Re: Victor’s note about being locked out of the demo server, this sort of 
lock-out has happened a few times recently.  Would it perhaps be worth setting 
up a chron job that runs every five minutes to update the ‘admin’ user password 
back to ‘district’ if it has changed?

Cheers, Sam.


From: Dhis2-devs 
mailto:qebo.co...@lists.launchpad.net>>
 on behalf of Victor Garcia mailto:vgarcia...@gmail.com>>
Date: Thursday, 10 November 2016 at 09:05
To: DHIS2 Developers 
mailto:dhis2-devs@lists.launchpad.net>>
Subject: [Dhis2-devs] Program rule actions of type ASSIGN not working on 
SCHEDULED events

Hi all,

we have noticed a buggy behavior when using program rule actions of type ASSIGN 
in scheduled events. The program rule is correctly evaluated, but the program 
rule action does not assign the desired value to the dataelement in that event. 
This happens only when the event is created using the visit scheduler. If the 
event is created using the "Add new event" button the program rule action works 
fine.

The steps to reproduce the issue:
1. Create a programRuleVariable of type "DATAELEMENT_CURRENT_EVENT" with the 
dataelement we want to copy.
2. Create a programRule limited to that programStage.
3. Assign a programRuleAction of type ASSIGN, with the previously crated 
programRuleVariable as the "data" and a dataelement as the target.

I couldn't access demo server to reproduce the issue (it seems that admin 
password has been changed), but I did in dev server and created an example that 
you can easily verify until it is reset tonight. It is in the program "WHO 
RMNCH Tracker", in the stage "Postpartum care visit". I added a new dataelement 
called "Copy HIV test result" just below "HIV test result" that copies its 
value. You can verify that if the stage is created using the "Add event button" 
the value is correctly copied; but it the stage is added using the visit 
scheduler, the value is not copied.

If there is doubt please let me know.

Thank you!

Víctor

___
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<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp



--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org<mailto:l...@dhis2.org>
http://www.dhis2.org<https://www.dhis2.org/>

___
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


Re: [Dhis2-devs] Play demo password

2017-01-09 Thread Lars Helge Øverland
Hi Sam,

Jason has added a script for resetting the password now.

Lars


On Thu, Jan 5, 2017 at 2:18 AM, Morten Olav Hansen <mor...@dhis2.org> wrote:

> Hi Sam
>
> It should be reset in about 2-3 hours automatically.
>
> I thought we had this blocked now, Jason?
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Jan 5, 2017 at 6:33 AM, Sam Johnson <samuel.john...@qebo.co.uk>
> wrote:
>
>> Hi Devs,
>>
>>
>>
>> Looks like someone’s changed the ‘admin’ password on play.dhis2.org/demo
>> again, and we can’t log in – would it be possible to get it reset?
>>
>>
>>
>> Re: the suggestion below, would it be worth scripting a quick chron job
>> that runs every five minutes to update the ‘admin’ password back to
>> ‘district’ if it has changed?
>>
>>
>>
>> Cheers, Sam.
>>
>>
>>
>>
>>
>> *From: *Dhis2-devs <dhis2-devs-bounces+samuel.johnson=
>> qebo.co...@lists.launchpad.net> on behalf of Sam Johnson <
>> samuel.john...@qebo.co.uk>
>> *Date: *Friday, 11 November 2016 at 04:50
>> *To: *Victor Garcia <vgarcia...@gmail.com>, DHIS2 Developers <
>> dhis2-devs@lists.launchpad.net>
>> *Subject: *[Dhis2-devs] Play demo password
>>
>>
>>
>> Hi all,
>>
>>
>>
>> Re: Victor’s note about being locked out of the demo server, this sort of
>> lock-out has happened a few times recently.  Would it perhaps be worth
>> setting up a chron job that runs every five minutes to update the ‘admin’
>> user password back to ‘district’ if it has changed?
>>
>>
>>
>> Cheers, Sam.
>>
>>
>>
>>
>>
>> *From: *Dhis2-devs <dhis2-devs-bounces+samuel.johnson=
>> qebo.co...@lists.launchpad.net> on behalf of Victor Garcia <
>> vgarcia...@gmail.com>
>> *Date: *Thursday, 10 November 2016 at 09:05
>> *To: *DHIS2 Developers <dhis2-devs@lists.launchpad.net>
>> *Subject: *[Dhis2-devs] Program rule actions of type ASSIGN not working
>> on SCHEDULED events
>>
>>
>>
>> Hi all,
>>
>>
>>
>> we have noticed a buggy behavior when using program rule actions of type
>> ASSIGN in scheduled events. The program rule is correctly evaluated, but
>> the program rule action does not assign the desired value to the
>> dataelement in that event. This happens only when the event is created
>> using the visit scheduler. If the event is created using the "Add new
>> event" button the program rule action works fine.
>>
>>
>>
>> The steps to reproduce the issue:
>>
>> 1. Create a programRuleVariable of type "DATAELEMENT_CURRENT_EVENT" with
>> the dataelement we want to copy.
>>
>> 2. Create a programRule limited to that programStage.
>>
>> 3. Assign a programRuleAction of type ASSIGN, with the previously crated
>> programRuleVariable as the "data" and a dataelement as the target.
>>
>>
>>
>> I couldn't access demo server to reproduce the issue (it seems that admin
>> password has been changed), but I did in dev server and created an example
>> that you can easily verify until it is reset tonight. It is in the program
>> "WHO RMNCH Tracker", in the stage "Postpartum care visit". I added a new
>> dataelement called "Copy HIV test result" just below "HIV test result" that
>> copies its value. You can verify that if the stage is created using the
>> "Add event button" the value is correctly copied; but it the stage is added
>> using the visit scheduler, the value is not copied.
>>
>>
>>
>> If there is doubt please let me know.
>>
>>
>>
>> Thank you!
>>
>>
>>
>> Víctor
>>
>> ___
>> 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
>>
>>
>
> ___
> 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
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>
___
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


Re: [Dhis2-devs] Play demo password

2017-01-04 Thread Morten Olav Hansen
Hi Sam

It should be reset in about 2-3 hours automatically.

I thought we had this blocked now, Jason?

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Thu, Jan 5, 2017 at 6:33 AM, Sam Johnson <samuel.john...@qebo.co.uk>
wrote:

> Hi Devs,
>
>
>
> Looks like someone’s changed the ‘admin’ password on play.dhis2.org/demo
> again, and we can’t log in – would it be possible to get it reset?
>
>
>
> Re: the suggestion below, would it be worth scripting a quick chron job
> that runs every five minutes to update the ‘admin’ password back to
> ‘district’ if it has changed?
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Dhis2-devs <dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.
> launchpad.net> on behalf of Sam Johnson <samuel.john...@qebo.co.uk>
> *Date: *Friday, 11 November 2016 at 04:50
> *To: *Victor Garcia <vgarcia...@gmail.com>, DHIS2 Developers <
> dhis2-devs@lists.launchpad.net>
> *Subject: *[Dhis2-devs] Play demo password
>
>
>
> Hi all,
>
>
>
> Re: Victor’s note about being locked out of the demo server, this sort of
> lock-out has happened a few times recently.  Would it perhaps be worth
> setting up a chron job that runs every five minutes to update the ‘admin’
> user password back to ‘district’ if it has changed?
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Dhis2-devs <dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.
> launchpad.net> on behalf of Victor Garcia <vgarcia...@gmail.com>
> *Date: *Thursday, 10 November 2016 at 09:05
> *To: *DHIS2 Developers <dhis2-devs@lists.launchpad.net>
> *Subject: *[Dhis2-devs] Program rule actions of type ASSIGN not working
> on SCHEDULED events
>
>
>
> Hi all,
>
>
>
> we have noticed a buggy behavior when using program rule actions of type
> ASSIGN in scheduled events. The program rule is correctly evaluated, but
> the program rule action does not assign the desired value to the
> dataelement in that event. This happens only when the event is created
> using the visit scheduler. If the event is created using the "Add new
> event" button the program rule action works fine.
>
>
>
> The steps to reproduce the issue:
>
> 1. Create a programRuleVariable of type "DATAELEMENT_CURRENT_EVENT" with
> the dataelement we want to copy.
>
> 2. Create a programRule limited to that programStage.
>
> 3. Assign a programRuleAction of type ASSIGN, with the previously crated
> programRuleVariable as the "data" and a dataelement as the target.
>
>
>
> I couldn't access demo server to reproduce the issue (it seems that admin
> password has been changed), but I did in dev server and created an example
> that you can easily verify until it is reset tonight. It is in the program
> "WHO RMNCH Tracker", in the stage "Postpartum care visit". I added a new
> dataelement called "Copy HIV test result" just below "HIV test result" that
> copies its value. You can verify that if the stage is created using the
> "Add event button" the value is correctly copied; but it the stage is added
> using the visit scheduler, the value is not copied.
>
>
>
> If there is doubt please let me know.
>
>
>
> Thank you!
>
>
>
> Víctor
>
> ___
> 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
>
>
___
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


Re: [Dhis2-devs] Play demo password

2017-01-04 Thread Sam Johnson
Hi Devs,

Looks like someone’s changed the ‘admin’ password on play.dhis2.org/demo again, 
and we can’t log in – would it be possible to get it reset?

Re: the suggestion below, would it be worth scripting a quick chron job that 
runs every five minutes to update the ‘admin’ password back to ‘district’ if it 
has changed?

Cheers, Sam.


From: Dhis2-devs 
<dhis2-devs-bounces+samuel.johnson=qebo.co...@lists.launchpad.net> on behalf of 
Sam Johnson <samuel.john...@qebo.co.uk>
Date: Friday, 11 November 2016 at 04:50
To: Victor Garcia <vgarcia...@gmail.com>, DHIS2 Developers 
<dhis2-devs@lists.launchpad.net>
Subject: [Dhis2-devs] Play demo password

Hi all,

Re: Victor’s note about being locked out of the demo server, this sort of 
lock-out has happened a few times recently.  Would it perhaps be worth setting 
up a chron job that runs every five minutes to update the ‘admin’ user password 
back to ‘district’ if it has changed?

Cheers, Sam.


From: Dhis2-devs 
<dhis2-devs-bounces+samuel.johnson=qebo.co...@lists.launchpad.net> on behalf of 
Victor Garcia <vgarcia...@gmail.com>
Date: Thursday, 10 November 2016 at 09:05
To: DHIS2 Developers <dhis2-devs@lists.launchpad.net>
Subject: [Dhis2-devs] Program rule actions of type ASSIGN not working on 
SCHEDULED events

Hi all,

we have noticed a buggy behavior when using program rule actions of type ASSIGN 
in scheduled events. The program rule is correctly evaluated, but the program 
rule action does not assign the desired value to the dataelement in that event. 
This happens only when the event is created using the visit scheduler. If the 
event is created using the "Add new event" button the program rule action works 
fine.

The steps to reproduce the issue:
1. Create a programRuleVariable of type "DATAELEMENT_CURRENT_EVENT" with the 
dataelement we want to copy.
2. Create a programRule limited to that programStage.
3. Assign a programRuleAction of type ASSIGN, with the previously crated 
programRuleVariable as the "data" and a dataelement as the target.

I couldn't access demo server to reproduce the issue (it seems that admin 
password has been changed), but I did in dev server and created an example that 
you can easily verify until it is reset tonight. It is in the program "WHO 
RMNCH Tracker", in the stage "Postpartum care visit". I added a new dataelement 
called "Copy HIV test result" just below "HIV test result" that copies its 
value. You can verify that if the stage is created using the "Add event button" 
the value is correctly copied; but it the stage is added using the visit 
scheduler, the value is not copied.

If there is doubt please let me know.

Thank you!

Víctor
___
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


[Dhis2-devs] Play demo password

2016-11-10 Thread Sam Johnson
Hi all,

Re: Victor’s note about being locked out of the demo server, this sort of 
lock-out has happened a few times recently.  Would it perhaps be worth setting 
up a chron job that runs every five minutes to update the ‘admin’ user password 
back to ‘district’ if it has changed?

Cheers, Sam.


From: Dhis2-devs 
 on behalf of 
Victor Garcia 
Date: Thursday, 10 November 2016 at 09:05
To: DHIS2 Developers 
Subject: [Dhis2-devs] Program rule actions of type ASSIGN not working on 
SCHEDULED events

Hi all,

we have noticed a buggy behavior when using program rule actions of type ASSIGN 
in scheduled events. The program rule is correctly evaluated, but the program 
rule action does not assign the desired value to the dataelement in that event. 
This happens only when the event is created using the visit scheduler. If the 
event is created using the "Add new event" button the program rule action works 
fine.

The steps to reproduce the issue:
1. Create a programRuleVariable of type "DATAELEMENT_CURRENT_EVENT" with the 
dataelement we want to copy.
2. Create a programRule limited to that programStage.
3. Assign a programRuleAction of type ASSIGN, with the previously crated 
programRuleVariable as the "data" and a dataelement as the target.

I couldn't access demo server to reproduce the issue (it seems that admin 
password has been changed), but I did in dev server and created an example that 
you can easily verify until it is reset tonight. It is in the program "WHO 
RMNCH Tracker", in the stage "Postpartum care visit". I added a new dataelement 
called "Copy HIV test result" just below "HIV test result" that copies its 
value. You can verify that if the stage is created using the "Add event button" 
the value is correctly copied; but it the stage is added using the visit 
scheduler, the value is not copied.

If there is doubt please let me know.

Thank you!

Víctor
___
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