Skip to content

During project import, workspace and merge request created for project structure exists in GitLab despite error from endpoint #394

@nandhini-sarathy

Description

@nandhini-sarathy

Importing a project involves the following steps:

  1. Create a workspace in GitLab.
  2. Add the project structure in the workspace.
  3. Create a merge request for the workspace.
  4. Update the project with tag.

Steps to Reproduce:

  1. Create a GitLab user account with permission to create workspace and merge requests, but not to update project.
  2. Invoke import project endpoint through the same account.
  3. Check the response returned from the endpoint. Excepted Response - '403 Forbidden'.
  4. Go to GitLab project overview and check for workspace and merge request created for project structure.

Expected Result:
During project import, if updating the project with tag fails, the workspace and merge request created for project structure must be deleted.

Actual Result:
Workspace and merge request created for project structure exists in GitLab despite error from import project endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions