Hello Everyone,
I have confirmed that in some 2.40.0.1 and 40.0.1 versions that updating a catCombo code or name with data in it is impossible. I have found another community post linking this and a JIRA issue linked with it that does not specifically address the issues that we are facing.
In lower versions, or at least in 2.38 & 2.37, you can update catCombo code or name or both and this will not return an error or affect your instance as long as run maintenance before inserting values. I have replicated this issue on plays version 40.0.1. It is quite straightforward to replicate:
-
- Navigate to the play server
-
- Select version 40
-
- Login with admin/district
-
- Navigate to maintenance from the app menu.
-
- Navigate to the category combinations
-
- Select any catCombo that looks popular enough to have data in it (in my case I used Fixed/Outreach)
-
- Update the name or code (! Do not touch the categories !)
-
- Open your browser inspect and navigate to network
-
- Save the category combo
-
- Wonder why you see something similar to the attached image
OR
- Skip 1 - 6 from above.
- Save your self the trouble and just follow this link: DHIS 2 Demo - Sierra Leone
- Follow through 7 - 11
Does anyone know why this is happening? if it can be fixed and how to fix it? Or if this is something the technical team can help us take a look? Any comment and help will be much appreciated
Thank you.