New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgr/dashboard: fix snapshot creation with duplicate name #47976
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes the UI validation, but what happens if I try this same operation from the API?
...gr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts
Outdated
Show resolved
Hide resolved
5148e9f
to
ad8b8cc
Compare
@epuertat , Added API validation as well |
@aaSharma14 just a doubt, if we added the API validation, then do we need a frontend validation? I mean the backend will already throw the Exception right and it'll be caught and shown in the frontend as well. Maybe an async validator in the form name field will be good IMHO. |
|
jenkins test make check |
...gr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts
Outdated
Show resolved
Hide resolved
ad8b8cc
to
490b1a7
Compare
@nizamial09 , I think by adding the validation to the frontend as well will prevent sending the API request at first place |
1 similar comment
@nizamial09 , I think by adding the validation to the frontend as well will prevent sending the API request at first place |
Snapshot creation with same name on UI throwing 500 Internal Error, This PR intends to fix this issue. Fixes: https://tracker.ceph.com/issues/57456 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
490b1a7
to
2ae1bca
Compare
|
jenkins test dashboard cephadm |
|
jenkins test windows |
|
jenkins test dashboard cephadm |
1 similar comment
|
jenkins test dashboard cephadm |
Snapshot creation with same name on UI throwing 500 Internal Error, This PR intends to fix this issue.
Fixes: https://tracker.ceph.com/issues/57456
Signed-off-by: Aashish Sharma aasharma@redhat.com
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows