Project

General

Profile

Bug #31791

Updated by Amir Fefer about 3 years ago

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1920566 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: 

Back