Mobile app v.3.0.1 - errors

Hi @tracker-products @tracker-frontend @tracker-programRules team,

After updating mobile DHIS Capture app to v.3.0.1. I am facing some errors listed below:

  1. I have a TEA with Number type. When I try to enter data I have got an error: It is not a correct format:
    **
    image
    **
    Have changed it to Positive integer. The error disappeared on Android version 11 but still remains on Android version 13

  2. The age group stopped to be calculated. It worked fine before the update. In order to reproduce please find attached metadata file
    TB-metadata.json (115.0 KB)
    The metadata could be uploaded into DHIS 2 Demo - Sierra Leone into TB program
    so in order to reproduce I have created 2 fields inside the TB program
    image
    Birth dat and Age group. The final aim is to get Age group based on the difference between current date and Birth_date field.
    I believe the problem is the mobile app stopped to assign text values into field as the optionSet values. As long as I don’t have any access to the debug information, I cannot say what is going on exactly. But the rules works perfectly fine on Desktop.

It was tested on Android ver: 11,12 & 13. The same results everywhere.
Would it possible to look at for the mobile app developers?

Thank you and looking forward to hearing from you soon.

Regards,
Ulanbek

1 Like

Hi @Ulanbek,

We’ll take a look at both problems and let you know. Can you confirm that they used to worked on versions before v3.0.1 of the android app?

Ferdy R.

Hi @FerdyR
Thank you for your swift reply.
Yes, it was working perfectly on all previous versions. I have few other programs, which all stopped to work.

Thank you and looking forward

Regards,
Ulanbek

Hi @Ulanbek

We’ve been looking at your problems and we can confirm that there is a bug when using calculated values on your program rules. We’ll inform you more when we have more details.

However, we can’t replicate the issue with the error label on a field that has a Number type. Maybe you could provide more information about this issue, how to replicate or an specific configuration.

Ferdy R.

2 Likes

Hi @FerdyR

Thank you for your reply. I have checked the TEA and found if there is Field mask set to #### then it shows an error regarding format. I removed and now it works fine.

I will wait for the ASSIGN issue to be fixed.

Thank you
Ulanbek

1 Like

Hi @Ulanbek

I’ve created a JIRA ticket for looking at the assign of calculated values to field issue in more detail.

You can followed it here [ANDROAPP-6505] - Jira

Regards,
Ferdy R.

3 Likes