Event capture cannot be saved after updating DHIS2 instance to version 2.37.2

we just updated the DHIS2 instance that we developed for surveillance activities. We did this because we received information regarding server security vulnerabilities.
but after we updated to the latest recommended version, version 2.37.2, several bugs appeared, such as:

  1. Unable to register case on event capture. the ‘Save and exit’ button does not respond when clicked.
  2. The coordinates of the event location cannot appear on the map, even though this worked fine in the previous version.

does anyone have the same problem? Or is there anyone who can provide assistance regarding this problem we are experiencing? Thank you.

1 Like

Hi @Rio_Aditya_P,
Welcome to the community! :tada:
Great job following the security instructions. I’m sorry you are facing some issues and it’s best that you shared that. Please check (Issue Navigator - DHIS 2 JIRA) for version 2.37.2 and you’ll see the possible bug issues, so for the ones that you are facing but can’t see it mentioned then please create a Jira bug issue. (it will be helpful if you add screenshots and the network error log…

Thank you!

Hello @Rio_Aditya_P

We’re currently having a similar problem (cases are not being saved on Capture) after upgrading to 2.37. Did you ever find a solution or bug in the end?

Thank you
Layla

Hi @lismail,

Please did you try to clear the cache (browser and system cache)? 1) Browser Cache Cleaner app 2) Administration app → Maintenance → “reload apps” and “Clear application cache”

If the issue persists, is this for all users including superusers? Could you check if there are any errors in the Network tab please? (DevTools F12 → Click on Network tab then refresh page in the Capture app and check if there are errors when you try to save a case.) It would be very helpful if you could reproduce this issue on play. Is this for all programs on your instance?

Thank you!

Thanks @Gassim !
I’ve cleared both broswer and system cache, and the issue so far has only been tested with a superuser account. There are plenty of errors in the Network tab, yes:
image
We’ve so far upgraded only our Train (test) site, and yes it’s happening on all of our Event programmes in Capture (our Tracker programmes seem to be working fine in Tracker Capture).

Any other advice?
Thanks!
Layla

Hi @lismail
This issue might be related to the bug issue reported in the CoP (What am I missing: The new "Capture" apps on 2.38 loads forever) and the Jira issue is: Log in - DHIS 2 JIRA

Workaround by @Simona.Domnisoru :

Andreea Simona Domnisoru added a comment - 03/Aug/22 11:33 AM
Hey,

The bug is reproducible for an organization unit without a code. The bug is present both when enrolling a new TEI and editing the TEI profile.

The workaround, while the bug is fixed, is to add a code to the organization unit.

@lismail can you expand the last error which says type: ‘access’, details: {…} and check what is present in the details section? Also, which patch version of 2.37 are you using?

Thanks,
Rithvik