Skip to content

Group Migration: Ensure group validation produce correct error message when name is already taken by project

What does this MR do?

This MR ensures that correct "Name already exists" message is reported when target group location is occupied by project

Video

Screencast_from_06-02-2021_07_44_25_PM

Related to #330885 (closed)

Testing guidelines

  • Enable feature bulk_import via Feature.enable(:bulk_import)
  • Open "New group" (/groups/new)
  • Use https://gitlab.com as source instance and GeK1Nis4j-SY1X4sqE5c as personal access token (this token is from separate user on GitLab instance with 0 real data available, so we do not expose any security risks here)
  • Set for any group existing project group & path as target
  • Ensure that you see error message

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Illya Klymov

Merge request reports