-
Bug
-
Resolution: Done
-
Blocker
-
None
-
%
-
+
-
Automated
-
Fuse 7.5 Sprint 52 - Bug fix
(Migrated from https://github.com/syndesisio/syndesis/issues/6362)
Author: Matej Králik
Assignees: Dhiraj Bokde,
This is a...
[pre][code]
[ ] Feature request
[x] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report [!-- Please search GitHub for a similar issue or PR before submitting --]
[ ] Documentation issue or request
[/code][/pre]
Description
When I want to create a new tag with the same name as has the existed tag, I am able to click on Save button (however the tag is not created because the backend returns
400 "developerMsg":"Duplicate environment tag1"
).
When I want to rename a tag to the same name as has another tag, I am able to click on Save button and in the UI I see two duplicated tags.
!image
In the 1.7.x, the dialog for creating/updating the tag was checking whether the name is already used.
In the left side of the images is master, in the right side is 1.7.13 (CR3)
Creating the tag with the same name:
!image
Updating to the same name:
!image
The UI should check the duplicities as before.
The endpoint
PUT .../api/v1/public/environments/[tag]
should check whether the name in params is not already used by another tag.
Step to reproduce:
- Go to Manage CI/CD page
- Create tag with name tag1
- Try to create tag1 again
- Create tag with name tag2
- Try to rename tag2 to tag1
- causes
-
ENTESB-11674 The error message remains in the dialog after closing it.
- Done