Description of problem:
After I edit a Satellite configuration provider's name and click Save, I should be returned to the All Configuration Manager Providers page. This no longer happens in 126.96.36.199.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.) Edit a Satellite Configuration Provider, change its name, and click Save.
After clicking Save, the web UI stays on the Edit Provider page.
After clicking Save, the web UI should return to the All Configuration Manager Providers page.
This is a regression from 188.8.131.52 to 184.108.40.206.
I would like to add that the very important step to reproduce the bug is to edit the provider so that you go to All Configuration Management Providers page, then you select the provider for editing by checking its checkbox and then, under Configuration, you choose Edit Selected item. Otherwise, I was not able to reproduce this bug.
I've decided to write new, EXACT steps to reproduce, as it is not possible to reproduce the bug simply as it is written above:
1. Go to Configuration > Management > Providers,
you should see All Configuration Management Providers page
2. Click on any other node in the tree, in accordion (this is very important!)
3. Go back to All Configuration Management Providers page so that you click
on All Configuration Management Providers folder in the tree, in accordion
4. Do what is was written above (original step(s) to reproduce + my note):
select the provider for editing by checking its checkbox and then,
under Configuration, choose Edit Selected item
There is another bug in the page, related to editing/saving provider: if you are successful with saving provider's changes and if you edited its name, the new name is not seen in the tree, the accordion does not refresh, after saving the changes (Tasos, do we have a BZ for this?)
Missed the last steps:
5. In the editing page, change provider's name
6. Try to save the changes by clicking on Save button
It looks like you were able to reproduce the issue, but if you still need logs, I'm attaching a tail of /var/www/miq/vmdb/log/*.log captured while trying to change the provider name, with the following steps:
1.) Click on Configuration > Management
2.) Click on Red Hat Satellite Providers in accordion.
3.) Click on All Configuration Manager Providers in accordion.
4.) Check box next to provider, currently named "sat62a1a Configuration Manager".
5.) Click Configuration > Edit Selected Item.
6.) Change Name field to "sat62a1b" and click Save.
Note that there is a NoMethodError logged in production.log during the save.
I haven't created a separate BZ for refreshing the accordion to reflect the name change. If you think that should be its own BZ, I can create one.
Verified on 220.127.116.11.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.