Bug #37556
closedCancel build shows notification with host id instead of hostname on the new UI of Red Hat Satellite
Description
Description of problem:
Cancel build UI notification shows ID instead of hostname though the 'Build' option shows hostname on the new satellite UI not on the Old UI of the 'All Hosts'.
Version-Release number of selected component (if applicable):
How reproducible:
On your satellite WEB UI -> Hosts -> Create Hosts -> After selecting all the options -> Submit -> On the new console of the 'All Hosts' -> Click on the 'Cancel Build' -> It'll show "Success alert: Canceled pending build for 3"
But after clicking on the 'Build' again, it shows the hostname.
"Success alert:Host client.example.com will be built next boot"
Actual results:
It shows the host id instead of the hostname on the new UI but on the old UI it shows hostname.
Expected results:
It should show the hostname on the new UI as well just like the old UI.
Additional info:
This issue is only reproducible on the NEW UI of the all Hosts, the old UI shows the hostname.
Fixes #37556 - Show host name instead of id in canceled build notification