Bug #31791
closedSaving bookmark with an existing/duplicate bookmark name doesn't show a clear error
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1920566
Description of problem:
Saving a bookmark with an existing/duplicate bookmark name doesn't show a clear error.
Version-Release number of selected component (if applicable):
Red Hat Satellite 6.9 Beta
How reproducible:
Always
Steps to Reproduce:
1. Navigate to Monitor >> Tasks in Satellite GUI
2. Enter any search query and try to save the search query as a bookmark.
3. In the "Name" field provide an existing/duplicate bookmark name.
4. Click on "Submit"
Actual results:
The "Create Bookmark" form gets closed and the following error is displayed in the top right corner of the webpage:
"Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422"
This is unclear.
Expected results:
If we follow the same Reproducer steps in Red Hat Satellite 6.8, the "Create Bookmark" form is not closed and an appropriate error "has already been taken" is displayed next to the "Name" field on the form.
Additional info:
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8304 added
Updated by Amir Fefer almost 4 years ago
- Related to Bug #31798: react forms create toast notifications with unclear error description added
Updated by Amir Fefer almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|ace2b3527873c396341f931adaa1808a3eac88fb.
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/theforeman/foreman/pull/8506 added