I am encountering an issue with the Capture App related to a program that contains attributes with an option set. Here’s the problem:
Description of the Issue:
• When data is entered, it gets saved successfully.
• However, the data is not displayed in the list (despite “Display in List” being enabled).
• Additionally, the data does not appear in analytics after running the analytics process.
Error Logs:
Upon reviewing the browser logs, I noticed an error message stating:
“Missing value in options.”
Interestingly, all options in the option set appear to have the correct values mapped.
Steps Taken to Resolve:
• Verified the sharing settings.
• Checked the configuration of the option set, TEI, TEA and Program and its mapping.
Has anyone experienced a similar issue or encountered this specific error? If so, any insights or guidance on resolving this would be greatly appreciated.
Would you please share the version of the Capture app you are using? You can find that in the App Management app.
Is there a chance that you could check the Network request that are being sent right at the time when you open “Drafted NAP_1”? Do the requests return anything?
Could you run this request to get more details about the object? /api/identifiableObjects/mJ0WzkQoZFq
I am using the default capture app with DHIS2 V2.37.8 hence I can’t see the capture app version in the App management, please find the screenshot below.
Yes, it doesn’t show any issue when sending the request. You’ll also need to check the OU and Program access settings for the user. One tip is to try to reproduce the whole thing on play, if you get the same issue then share the step by step so it’s easier to debug. Does this issue happen to all the programs in your system? Only this program? It’s good to investigate further as it’s not clear up to this point.
I’ve verified all user permissions, and everything appears to be in order. However, this issue persists specifically in this instance and any new program that i design now. Interestingly, I noticed that the same data is visible in the Tracker Capture app.