Skip to content

Protected environment name with dot character cannot be updated

Summary

Protected environments that contain a dot ('.') character on their names cannot be updated with new deployment rules after creation.

Steps to reproduce

  1. Create a protected environment with a dot ('.') character on its name.
  2. Attempt to add a new deployment rule after creation by adding a new user as "Allowed to deploy".
  3. The change is not recorded.

Recording:

issue428882

What is the current bug behavior?

Protected environment configuration is not updated.

What is the expected correct behavior?

Protected environment configuration is updated.

Relevant logs and/or screenshots

Via the web console and attempting the update via the Protected environments API results in:

404 not found

Output of checks

This bug happens on GitLab.com

Edited by Alejandro Guerrero