In Foreman 1.22.0-RC1 you can reproduce this by:
* Going to the Create Host form
* Fill in all the fields and submit
* See what happens
* The breadcrumbs are All Hosts >> $HOSTNAME
* The breadcrumbs are All Hosts >> Create Host | $HOSTNAME
* When you refresh the page, it does show the correct breadcrumb
* See attached screenshot
Created from redmine issue https://projects.theforeman.org/issues/26822
*** Bug 1743683 has been marked as a duplicate of this bug. ***
Upstream bug assigned to tbrisker
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26822 has been resolved.
I looked on error by using sat 6.6 snap 16 and after that steps were reproduced with sat 6.6 snap 17 where it works correctly. Verified
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.