Skip to content

Fix error when updating group via API with sending current name

What does this MR do and why?

Related to: #381286 (closed)

While updating a group through API (PUT group/ID) and sending in this request the same path that the group already has — it fails with error:

{"message"=>{"base"=>["Cannot update the path because there are projects under this group that contain Docker images in their Container Registry. Please remove the images from your projects first and try again."]}}

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

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 Kassio Borges

Merge request reports

Loading