But a report can only be generated by placing the data element in Layout within the Report filter section (as shown in the image), and The options within the table show their codes, but their names do not appear.
Thank you for your post @jamal_aljadan! Please share the dhis2 version number so we can try to reproduce this? I want to reproduce this issue in any of the play.dhis2.org instances to verify if it’s a bug or not.
If it’s a bug then we will create a Jira bug issue. Thanks!
Dear team, I am managing several tracker instances. After upgrading them to 22.214.171.124. I am facing a challenge on generating report using an Event Report.
I wanted to report this on Jira, but for some reasons. I couldn’t log in. @Gassim or anyone around, I will appreciate if you can test from your side, and if it is bug please help me to post to JIRA. This is very important for any one using version 126.96.36.199 and 188.8.131.52
If you repeat the same, but this time set a table style “Line listing”. the database just keep rotating but with different error (See image below). “Response.js:335 Uncaught TypeError: Cannot read properties of undefined (reading 'getCachedOptionName’)”
It is important to note that not all data elements or attributes linked with option set don’t work. Some data elements and attributes linked with optionset works even though the configuration is the same
The steps to reproduce with the version numbers helped, thanks! I was able to reproduce the issue and clearing the cache using both the Data administrator app as well as the Browser Cache Cleaner app didn’t solve the issue either. Here’s the Jira ticket ([DHIS2-14454] - Jira)
I have a program with a few data elements and attributes based on option sets. I can view the line list in event reports but when l change from line list to aggregate data the results does not even show… the system gets stuck. I checked the developers console and I am seeing Response.js:206 Uncaught TypeError: Cannot read properties of undefined (reading ‘code’)
at Array.map ()
at Array.forEach ()
at new Response (Response.js:218:6)
at Object. (InstanceManager.js:48:32)
at i (jquery.min.js:2:28017)
at Object.fireWith [as resolveWith] (jquery.min.js:2:28783)
at A (jquery.min.js:4:14017)