dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #46950
Re: Program rule - selected field to hide changes to None
Hi again,
It seems saving a programrule for hiding tracked entity attributes works, but there was a bug that prevented the tracked entity attributes from being visible when reopening the rule.
This is now fixed in 2.24 and trunk, new builds running now. Older versions was not affected.
Note: A feature of the old program rules editor is that after saving and closing the actions of a rule, it is no longer possible to change the tracked entity attribute or data element that each action affects. If an action should be changed it is currently necessary to delete and add that action again. This will not be necessary in the future program maintenance app.
Best regards,
Markus
> 27. sep. 2016 kl. 13.27 skrev Calle Hedberg <calle.hedberg@xxxxxxxxx>:
>
> 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 <mailto: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 <mailto: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 <mailto: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 <tel:%2B27-21-685-6472>
>> Cell: +27-82-853-5352 <tel:%2B27-82-853-5352>
>> Iridium SatPhone: +8816-315-19119 <tel:%2B8816-315-19119>
>> Email: calle.hedberg@xxxxxxxxx <mailto:calle.hedberg@xxxxxxxxx>
>> Skype: calle_hedberg
>>
>> *******************************************
>>
>>
>>
>>
>>
>> --
>> ******************************************* <>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472 <tel:%2B27-21-685-6472>
>> Cell: +27-82-853-5352 <tel:%2B27-82-853-5352>
>> Iridium SatPhone: +8816-315-19119 <tel:%2B8816-315-19119>
>> Email: calle.hedberg@xxxxxxxxx <mailto:calle.hedberg@xxxxxxxxx>
>> Skype: calle_hedberg
>>
>> *******************************************
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
>> More help : https://help.launchpad.net/ListHelp <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 <mailto:calle.hedberg@xxxxxxxxx>
> Skype: calle_hedberg
>
> *******************************************
>
>
Follow ups
References