Bug #15151
power-off confirm dialog box throws below error
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1337949
Description of problem:
"Are you sure you want to power off #<FogExtensions::Vsphere::MiniServer:0x0000000ec28e78>"
Version-Release number of selected component (if applicable):
sat62-snap12.1
How reproducible:
Steps to Reproduce:
1. add VMware compute resource
2. lick on the Virtual machine tab
3. select a vm anc click on "power off"
Actual results:
"Are you sure you want to power off #<FogExtensions::Vsphere::MiniServer:0x0000000ec28e78>"
Expected results:
No such message like "#<FogExtensions::Vsphere::MiniServer:0x0000000ec28e78>"
Additional info:
No error message seen in "/var/log/foreman/production.log"
Associated revisions
History
#1
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3545 added
#2
Updated by Marek Hulán over 4 years ago
- Legacy Backlogs Release (now unused) set to 136
#3
Updated by Ivan Necas over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 2af9eb1c994b22bbd60b07583dd4bec588ff75f3.
Fixes #15151 - properly convert Fog VMs to_s
Useful for power action pop up alerts to avoid the nasty inspection
strings.