After updating mobile DHIS Capture app to v.3.0.1. I am facing some errors listed below:
I have a TEA with Number type. When I try to enter data I have got an error: It is not a correct format:
**
**
Have changed it to Positive integer. The error disappeared on Android version 11 but still remains on Android version 13
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
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.
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.
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.
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.