Protected Tag deleted by key enter without correct tag name input with Gitlab v16.2.4
Summary
Protected Tag can be deleted by keybord Enter without correct tag name input with Gitlab v16.2.4
Steps to reproduce
- Create tag rule
v*via Settings->Repository->Protected tags - Create tag like
v1.2.3 - Find the tag via Code->Tags
- Click
Delete protected tagbutton - Input any char like
vora(Note:Yes, delete protected tagbutton not highlite at this time) - keyboard
Enter - The protected tag (eg
v1.2.3) has been deleted
What is the current bug behavior?
Tag name match validation skipped when Enter
What is the expected correct behavior?
Validate tag name when Enter
Details of package version
- GitLab v16.2.4
- GitLab Shell 14.23.0
- GitLab Workhorse v16.2.4
- Ruby 3.0.6p216
- Rails 7.0.8
- PostgreSQL (main) 13.11
- PostgreSQL (ci) 13.11
Environment details
- Operating System: CentOS 8
- Installation Target, remove incorrect values:
- Bare Metal Machine and Docker-Compose
- Installation Type, remove incorrect values:
- Upgrade from version
15.6
- Upgrade from version
- Is this a single or multiple node installation?
- single
- Resources
- CPU: AMD Ryzen 9 3900X 12-Core
- Memory total: 128GB
Configuration details
Provide the relevant sections of `/etc/gitlab/gitlab.rb`
Edited by waiting