Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJustin Sherrill
2014-07-10 17:53:56 UTC
Description of problem:
On most Katello pages, if your session expires and you click a link it will redirect you to login and then back to an ajax response.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Go to Content Views list (which one content view created)
2. Wait until your session expires (1 hour of inactivity) iirc
3. Click on the content view
Actual results:
I get redirected to login and then redirected to some json
Expected results:
I get redirected to login and then back to the selected content view
Additional info:
This needs to be fixed on the Foreman side and you can see the same behavior if you leave open the user's page (for example), let your session expire (easier if you set the timeout to 1 minute), and then click on a user. You are redirected to the login page and once you login you are then sent back to the AJAX request URL of users/1/edit.
Incidentally, you can also update the settings page while your session is expired.
Note that the fix for this bug will need to be cherry picked before creating a new release for bastion:
commit 59f5d58b91ae987781162fe94853efb7b7a41e5a
Merge: 007321f 42843e7
Author: Walden Raines <walden>
Date: Thu Mar 26 14:24:36 2015 -0400
Merge pull request #57 from waldenraines/9874
Fixes #9874: prevent redirection to API calls, BZ1118444.
commit 42843e71001f6942074334f28f8354be14815105
Author: Walden Raines <walden>
Date: Mon Mar 23 12:34:47 2015 -0500
Fixes #9874: prevent redirection to API calls, BZ1118444.
http://projects.theforeman.org/issues/9874https://bugzilla.redhat.com/show_bug.cgi?id=1118444
VERIFIED:
]# rpm -qa | grep foreman
foreman-libvirt-1.7.2.17-1.el6_6sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.10-1.el6_6sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el6_6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.3-1.el6_6sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.5-1.el6_6sat.noarch
foreman-postgresql-1.7.2.17-1.el6_6sat.noarch
foreman-debug-1.7.2.17-1.el6_6sat.noarch
foreman-1.7.2.17-1.el6_6sat.noarch
foreman-ovirt-1.7.2.17-1.el6_6sat.noarch
ruby193-rubygem-foreman-tasks-0.6.12.3-1.el6_6sat.noarch
foreman-proxy-1.7.2.4-1.el6_6sat.noarch
qe-sat6-rhel66.usersys.redhat.com-foreman-client-1.0-1.noarch
qe-sat6-rhel66.usersys.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-selinux-1.7.2.13-1.el6_6sat.noarch
rubygem-hammer_cli_foreman-0.1.4.9-1.el6_6sat.noarch
foreman-compute-1.7.2.17-1.el6_6sat.noarch
foreman-vmware-1.7.2.17-1.el6_6sat.noarch
ruby193-rubygem-foreman-redhat_access-0.1.0-1.el6_6sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el6_6sat.noarch
qe-sat6-rhel66.usersys.redhat.com-foreman-proxy-1.0-2.noarch
ruby193-rubygem-foreman_docker-1.2.0.9-1.el6_6sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.7-1.el6_6sat.noarch
foreman-gce-1.7.2.17-1.el6_6sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.9-1.el6_6sat.noarch
1. Go to Content Views list (which one content view created)
2. Wait until your session expires (50 mins of inactivity) iirc
3. Click on the content view
I get redirected to login and then back to the selected content view