← Back to team overview

dhis2-devs team mailing list archive

Re: Program rule - selected field to hide changes to None

 

Hi,

Thanks Markus.

With regard to not being able to edit or add program rules in SL demo, FYI:
it was a user rights issue. Logging in as system sorted that problem out -
it looks like the standard admin user don't have privileges to do anything
on program rules.

Regards
calle

On 27 September 2016 at 13:09, Markus Bekken <markus.bekken@xxxxxxxxx>
wrote:

> Thanks for reporting, Calle. There was a related fix on trunk yesterday
> night that seems to have fixed the below mentioned issue as well. Looking
> into fixing the same in 2.24 now.
>
> Markus
>
>
> 27. sep. 2016 kl. 12.16 skrev Calle Hedberg <calle.hedberg@xxxxxxxxx>:
>
> Hi
>
> This increasingly looks like a significant bug - Elmarie just added a
> similar program rule (i.e. using a 'MALE' value in the Gender attribute to
> hide the Pregnant attribute) in another instance, and the result is the
> same: the action field value is replaced by "None" and there are no
> drop-down values.
>
> Regards
> Calle
>
> On 27 September 2016 at 11:06, Calle Hedberg <calle.hedberg@xxxxxxxxx>
> wrote:
>
>> Hi
>>
>> I'm having an issue that baffles me: when adding a program rule to a
>> tracker program that checks one attribute in order to hide another
>> attribute, I can initially select and save - everything seems normal.
>>
>> But when I open the program rule again, the field to be hidden is showing
>> "None" and there are no values in the drop-down for that selection.
>>
>> I have tried to replicate this on the demo, but on the demo the new
>> program rule does not save at all. No error message - it just don't save.
>>
>> I then tried to modify an existing program rule ("WHO RMNCH tracker",
>> verify street address) by changing the action from warning to hide field -
>> again I only get "None" in the field drop-down.
>>
>> Is this a bug, or am I doing something dumb?
>>
>> regards
>> Calle
>>
>> *******************************************
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472
>>
>> Cell: +27-82-853-5352
>>
>> Iridium SatPhone: +8816-315-19119
>>
>> Email: calle.hedberg@xxxxxxxxx
>>
>> Skype: calle_hedberg
>>
>> *******************************************
>>
>>
>
>
> --
>
> *******************************************
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedberg@xxxxxxxxx
>
> Skype: calle_hedberg
>
> *******************************************
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 

*******************************************

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@xxxxxxxxx

Skype: calle_hedberg

*******************************************

Follow ups

References