← Back to team overview

dhis2-devs team mailing list archive

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

 

get the latest trunk. It was not working yesterday but is fine today.
Markus added a fix.

On Tue, Sep 27, 2016 at 12:16 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
wrote:

> 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
>
>

References