Group transfer "Confirm" button not working due to group name not matching requested text

Summary

Customer attempted group transfer from top-level group to subgroup. The confirmation modal popped up, they entered identical text as requested, yet the Confirm button does not get enabled for them to proceed with the group transfer.

Customer Zendesk ticket: Internal only

Workaround

For the customer, in two sections I see the Group name appears to be different from the requested text in the confirmation modal:
(1) Settings > General and
(2) Admin Panel > Edit.

The rest of the sections match up.

Check those sections, and use the Group name in there.

Steps to reproduce

Able to replicate the behavior in the customer's namespace but unable to reproduce by creating a group and changing the group name. The group name gets updated in the UI sections mentioned above.

What is the current bug behavior?

Customer cannot proceed with group transfer after typing the requested text in the confirmation modal.

What is the expected correct behavior?

Customer can proceed with group transfer after typing the requested text into the confirmation modal.

Relevant logs and/or screenshots

Confirm button disabled even though the text is identical (redacted for customer privacy, see ticket attached). image

Output of checks

This bug happens on GitLab.com.

Possible fixes

Proposal to fix the bug

Switch to using group full path instead of name. This way there is no whitespace issues and it is consistent remove group confirmation modal.

Engineering implementation plan

Edited by Peter Hegman