Deleted/Archived group project templates are still available for new projects
Summary
After deleting a project from a group project templates subgroup, it is still available for use when creating a new project. This may only affect soft-deleted projects that are pending removal.
Steps to reproduce
- Set up subgroup for group project templates
- Create a template project
- Archive/Remove it
- Create a new project from template.
Example Project / Current Behaviour
Template subgroup listing active project(s)
New Project from Template shows a soft-deleted/archived project pending removal
The example project that should no longer be available for use (Delete still pending due to #212645 (closed))
What is the expected correct behavior?
Deleted/Archived project should no longer be usable as template.
Output of checks
This bug happens on GitLab.com


