Manifest import page: Personal Namespace warning shows even when group namespace was selected
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Observed in Production when importing a project via manifest upload. The memberships warning icon appears on page load even though a personal namespace is not selected. Hovering over the icon displays the below help text that implies user selected a personal namespace
Importing a project into a personal namespace results in all contributions being mapped to the same bot user and they cannot be reassigned. To map contributions to actual users, import the project to a group instead.
This does not seem to prevent the user from importing, but it could be confusing that the warning appears.
Steps to reproduce:
- Go to /projects/new#import_project
- Click Manifest file
- Select a group to import into
- Upload a manifest file, eg spec/fixtures/aosp_manifest.xml and click 'List available'
- On the import page you'll see the warning icon next to each "Import" button even though you selected a group namespace
Expected behavior
The icon should only show if 'To GitLab' has the user namespace selected, instead of a group.
Edited by 🤖 GitLab Bot 🤖