Bug #6821
closedCV: Clicking on 'Here' link while removing CV version, continuously refreshes the page
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1117636
Description of problem:
I was trying to remove a CV version from a selected env. While deletion, I found that some of content-hosts are also tied up with same version. So as per UI help tip, I clicked on 'Here' hyperlink and page starts refreshing and keep on refreshing.
Following log entries generated during refresh in production.log
---
Processing by Bastion::BastionController#index as HTML
Parameters: {"search"=>"content_view:\"cv-rhel65-ks\" AND (environment:\"Library\" OR environment:\"Dev\")", "bastion_page"=>"content_views", "path"=>"2/versions/2/delete/undefined"}
Rendered home/_submenu.html.erb (11.4ms)
Rendered home/_user_dropdown.html.erb (3.4ms)
Read fragment views/tabs_and_title_records-1 (0.3ms)
Rendered home/_topbar.html.erb (19.8ms)
Rendered layouts/base.html.erb (23.1ms)
Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/engines/bastion/app/views/bastion/layouts/application.html.haml (28.2ms)
Completed 200 OK in 57ms (Views: 29.9ms | ActiveRecord: 2.9ms)
--
Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140626.1, RC beta build
How reproducible:
always
Steps to Reproduce:
1. create a CV, publish and promote it to next env ( e.g. dev)
2. register a content-host with same cv and env 'dev' or create a activation-key that uses same CV version
3. now try to delete the cv version
Actual results:
page starts refreshes as soon as we click on 'Here' hyperlink while removing CV version
Please note that it appears at two places, 1) to disassociate content-host 2) to disassociate activation-key from the selected content-view. Please see attached screenshots for more context.
Expected results:
The 'here' hyper link should open the appropriate page
Additional info: