Validation Rule Edit locked for Period Type and Validation Rule Type

Hi devs,

I just want to confirm that it is expected behaviour that you cannot edit validation rule type and period type after creating a validation rule. It makes sense but just wondering why the broom icon is still present if it’s not expected to work. On the other hand, if you allow editing of these fields then the data elements would have to be cleared from the left and right expressions.

When I try to edit I get the attached in my browser log.

Regards,

···


Busoye Anifalaje (PhD)
Director of Services, BAO Systems

+44 7901-740-757 | busoye@baosystems.com | http://www.baosystems.com |

Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007

Hi Busoye,

good spot. It is possible to change rule type/period type. Clicking the broom should lead to the left and right expression side being cleared out. There was a missing javascript function which caused it not to work. Fixed now in trunk, 2.22 and 2.21.

regards,

Lars

image

image

···

On Mon, Feb 1, 2016 at 4:23 PM, Busoye Anifalaje busoye@baosystems.com wrote:

Hi devs,

I just want to confirm that it is expected behaviour that you cannot edit validation rule type and period type after creating a validation rule. It makes sense but just wondering why the broom icon is still present if it’s not expected to work. On the other hand, if you allow editing of these fields then the data elements would have to be cleared from the left and right expressions.

When I try to edit I get the attached in my browser log.

Regards,

Busoye Anifalaje (PhD)
Director of Services, BAO Systems

+44 7901-740-757 | busoye@baosystems.com | http://www.baosystems.com |

Skype: busoye | 2900 K Street, Suite 404, Washington D.C. 20007


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

http://www.dhis2.org