Quantcast
Channel: DHIS2 Community - Latest topics
Viewing all articles
Browse latest Browse all 1855

Sync Error in DHIS2 Android Capture When Updating Dependents of a Calculated Value Attribute

$
0
0

DHIS2 Android Capture v30 brings several new features and improvements. However, there are a few critical issues that need to be addressed to ensure a seamless user experience.

One notable problem arises when updating attributes of a tracked entity that have already been synced. Specifically, attributes with calculated values dependent on updated fields trigger sync errors. For instance, if a client’s demographic data includes an attribute like “Age” calculated from the “DOB” attribute, any updates or corrections to the DOB cause sync errors due to the mismatch between the new calculated value and the previously synced value. This issue also extends to other calculated fields, such as “UID”, “Fullname,” derived from a combination of “Firstname,” “Lastname,” and other attributes .

The error message encountered reads: “Generated by Program rule, unable to assign value to attribute. The provided value must be empty or match the calculated value.” This suggests that the app does not handle recalculated values effectively, leading to inconsistencies and sync failures.

It’s important to note that these issues do not occur when using the web API, indicating that the problem is specific to the Android app.

Addressing the sync errors for calculated attributes is crucial for users who rely on accurate and up-to-date data. We hope to see this issue resolved in future updates to enhance the app’s reliability and functionality.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1855

Trending Articles