Project name not set when importing an exported GitLab project

Summary

When importing an exported GitLab project, the name entered in the Project name field is not set on the resulting project. Instead, the imported project's name is the project slug.

Steps to reproduce

  1. Export a GitLab project.
  2. Create a new project using the Import project option.
  3. Enter a Project name, Project slug, and select the export archive.
  4. Import the project.

Example Project

N/A

What is the current bug behavior?

The imported project's name is not set to the name entered in the Project name field. Instead, it has the Project slug value.

What is the expected correct behavior?

The imported project's name should be set to the name entered in the Project name field.

Relevant logs and/or screenshots

Import an exported GitLab project:

Note that the Project name is set to Docker API.

Screen_Shot_2020-09-22_at_11.19.51_AM

Imported project:

The project name is docker-api instead of Docker API.

Screen_Shot_2020-09-22_at_11.20.07_AM

Output of checks

This bug happens on GitLab.com.

Results of GitLab environment info

The project was exported from a self-hosted GitLab instance running GitLab 13.3.

Results of GitLab application Check

N/A

Possible fixes

Unknown