Program Rule Action Errors on Android

Summary
Noticing that in 2.8.1.1 the errors do not remove data values as they do in our current version (2.5.2). Wanted to ask if this was expected, intentional behaviour, or if this would be described as a bug?
Details
In 2.5.2 when a Data Element has a value and a program rule action error is triggered to show it as an error, the value is removed when the event is saved. If the event is pulled back up in Android or synced to the server, the value does not exist.

In 2.8.1.1, the same scenario results in the data value persisting through the save and syncing up to the server.

Ideal for our instance
In our instance, we count on the values of program rule errors to not appear in our server. We won’t be able to move to 2.8.1.1 because too many aspects of our programs are predicated on this.

What is the expected behavior for android?

2 Likes

Thanks for the shift here @Gassim ! Didn’t recognize the subcategories, will take note of that for future topics.

1 Like

Hello @Matthew_Boddie,

The expected behaviour is to persist the error in the field for the user to be able to fix it. If the user closes the event without fixing it, the value should be deleted and should not reach the server.

The team is looking into it now, we think it could have been introduced in previous versions.

Thanks!
Marta

2 Likes

Hi @Matthew_Boddie,

It is indeed a bug introduced in a previous version. Could you please fill a jira ticket? We will work on a fix as soon as possible. Thanks!

3 Likes

Thanks to both @Pablo and @marta for speedy replies. Ticket here

2 Likes

Thank you @Matthew_Boddie :pray: