Error in generating Event Report for any data element linked with the Option set

Dear team, I am managing several tracker instances. After upgrading them to 2.38.2.1. 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 2.38.2.1 and 2.39.0.1

The challenge can be replicated on Demo sites (DHIS 2 Demo - Sierra Leone and also DHIS 2 Demo - Sierra Leone)

  1. Open “Event report App” and table style “Pivot”
  2. Select Program (Malaria Focus Investigation),
  3. Program stage: “Foci response” and Data element : “Follow-up diagnosis action”
  4. Period : Last five years
  5. Update

  1. The database just keep rotating, the error message from the console is: “Uncaught TypeError: Cannot read properties of undefined (reading ‘code’)

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’)”

image

1 Like