Cannot rename an existing root organisation unit because a parent is required

I am unable to rename the existing root organisation unit using the Metadata Management app.

Steps to reproduce:

  1. Log in as an administrator.

  2. Open Metadata Management → Organisation units.

  3. Edit the existing root organisation unit, which has no parent.

  4. Change only its name and try to save.

Actual behaviour:
The form requires a parent organisation unit, preventing the name change from being saved.

Expected behaviour:
Renaming an existing root organisation unit should be possible while keeping its parent empty.

Environment:

  • Originally observed on DHIS2 core 2.43.2.

  • The instance has since been upgraded to 2.43.2.1.

  • Metadata Management app version: [insert installed version].

  • Browser: Chrome on macOS.

Please confirm whether this is a known issue and whether an app update or supported UI workaround is available.

Hi @sajjadka72

Welcome to the DHIS2 Community of Practice!

I’m able to reproduce the issue and can’t rename the Sierra Leone OU on play:

Thanks for the clear steps to reproduce. I’m triaging this to the team. :folded_hands:

–
Update:
This is indeed a bug and I’ve created a Jira ticket on your behalf DHIS2-22403 - [MMA app] Unable to rename root organization unit. If you create a Jira.dhis2.org account, I will change the reporter to your account. Thanks!