can not create project when a subgroup with the same name under the same level exist

Summary

can not create project when a subgroup with the same name under the same level exist and vice versa. the ui promotes this tip: The form contains the following errors:

  • Route path has already been taken
  • Route is invalid

Steps to reproduce

  1. create a subgroup under group subtest1, named with subtest2, for example
  2. under group subtest1, click the button New project to create project, with name subtest2

What is the current bug behavior?

then error occurs as snapshot below image

What is the expected correct behavior?

no error; Because gerrit support this feature, subgroup name and projectname under the same group can be same. and serveral suppliers or customer use gerrit as scm, not gitlab. and we need keep synchronization between these two scm system(gerrit and gitlab). if gitlab could not support this feature, the synchronization between gerrit and gitlab is unimaginable for there are hundreds of projects to synchronize, moreover, the folder organization structure of these hundreds of projects do not always stay the same

Edited by HellenHuai