@Simona.Domnisoru added a comment to the JIRA issue:
"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."