Created attachment 1817709 [details] Old Content Host Registration Created attachment 1817709 [details] Old Content Host Registration Description of problem: Old Registration URL doesn't redirect to the new Registration steps in the Satellite GUI Old URL: https://satellite.example.com/content_hosts/register New URL: https://satellite.example.com/hosts/register Version-Release number of selected component (if applicable): Satellite 6.10 How reproducible: Always Steps to Reproduce: 1. Old Registration steps: Satellite GUI >> Hosts >> Content Hosts >> Register Content Hosts 2. Open https://satellite.example.com/content_hosts/register 3. Does not Click or redirect to New registration information. Actual results: Shows ERROR as "Resource host not found by id 'register'" & messages as "This Host is not currently registered with subscription-manager. Click here for registration information". But doesn't redirect to the new Registration steps. Expected results: Either we could disable the old Registration URL or redirect to the new Registration URL. Hosts >> Register Host Additional info:
I've been looking into it and sadly I couldn't find (easy) way how to do it. This code part is done in Angular, which I don't have much knowledge about, changing rail's routes.rb didn't have any affect at it. And so far I wasn't able to find the way how to do redirect from Angular router to another page (which is managed by React for a change).
Created redmine issue https://projects.theforeman.org/issues/33442 from this bug
Verified. Tested on: Satellite-6.10.0 Snap 21.0 Steps followed: 1. Registration steps: Satellite GUI >> Hosts >> Content Hosts >> Register Content Hosts Observation: Clicking on the (Register Content Host) button redirects to Hosts >> Register Host.
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 (Moderate: Satellite 6.10 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4702