Skip to content

Update wording for group transfer path error

Jan Provaznik requested to merge jprovazn-projectns-exclude-transfer into master

What does this MR do and why?

Before transfering a group, it's checked if there is already Namespace with the same path. Currently this effectively checks only if there is a subgroup with the same path. If there is a project with the same path, transfer fails too, but in the next step because updated group validation fails with error "Validation failed: Group URL has already been taken".

When we create/backfill project namespace for each project, we will effectively check both for subgroup or project path conflicts (because project namespace will be created with the same path as project). So we can just update the error message to mention that there is either group or project with the same path.

Related to #341823 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jan Provaznik

Merge request reports