[go: up one dir, main page]

Skip to content

Creating a new MR approval rule in a new project duplicates entry

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

When creating a new MR approval rule in a new project with Approvals required greater than 0, the current row gets duplicated. This row disappears after a refresh of the page.

Steps to reproduce

  • Create a new project
  • Go to Settings -> Merge Requests -> Merge request approvals, and change the value for Approvals required from 0 to 1. This will create a duplicate line, which will disappear when refreshing the browser.

Example Project

This happened for my example project with project ID 69064828, but also for all other new projects in the same subgroup. However, as the duplicate line disappears after a refresh of the page, it is no longer visible. See screenshot attached to this ticket of when it happened.

What is the current bug behavior?

See above. When creating a new MR approval rule in a new project with Approvals required greater than 0, the current row gets duplicated. This row disappears after a refresh of the page.

What is the expected correct behavior?

When creating a new MR approval rule in a new project with Approvals required greater than 0, the current row should not get duplicated.

Relevant logs and/or screenshots

Screenshot_2025-04-17_at_14.49.39

Output of checks

This bug happens on GitLab.com

Edited by 🤖 GitLab Bot 🤖