Bug 2168716 - The line "#<ForemanVirtWhoConfigure::Config:0x000055efc9df6498>" should be removed from the message shown after deleting virt-who configuration from Satellite WebUI
Summary: The line "#<ForemanVirtWhoConfigure::Config:0x000055efc9df6498>" should be re...
Keywords:
Status: POST
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Virt-who Configure Plugin
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: yanpliu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-09 20:37 UTC by Jayant Bhatia
Modified: 2023-08-03 17:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36372 0 Normal Ready For Testing Display the config name correctly while creating, updating or deleting a virt-who config successfully. 2023-05-09 11:32:27 UTC

Description Jayant Bhatia 2023-02-09 20:37:00 UTC
Description of problem:

Deleting virt-who configuration shows following message on Satellite WebUI "Successfully deleted #<ForemanVirtWhoConfigure::Config:0x000055efc9df6498>" where the latter part "#<ForemanVirtWhoConfigure::Config:0x000055efc9df6498>" should be trimmed from the message. 


Version-Release number of selected component (if applicable): satellite-6.13.0-4.el8sat.noarch


How reproducible: Always


Steps to Reproduce:

1. Ensure that there is a virt-who configuration already created.

2. Navigate to Satellite WebUI -> Infrastructure -> Virt-who Configurations and delete the existing virt-who configuration.

3. The virt-who configuration gets successfully deleted as expected.


Actual results: Below message is shown on the screen after virt-who configuration is deleted.

        Successfully deleted #<ForemanVirtWhoConfigure::Config:0x000055efc9df6498>.


Expected results: #<ForemanVirtWhoConfigure::Config:0x000055efc9df6498>. should not be displayed on screen and the message should only say 'Successfully deleted'.


Additional info: This behavior is observed in Satellite 6.12 also.

Comment 1 Sayan Das 2023-05-09 11:32:27 UTC
Created 

Bug #36372: Display the config name correctly while creating, updating or deleting a virt-who config successfully. - virt-who configure - Foreman
https://projects.theforeman.org/issues/36372

Fixes #36372 - Show correct config name during create\update\delete by sayan3296 · Pull Request #162 · theforeman/foreman_virt_who_configure
https://github.com/theforeman/foreman_virt_who_configure/pull/162

Comment 2 Bryan Kearney 2023-05-10 00:03:07 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36372 has been resolved.


Note You need to log in before you can comment on or make changes to this bug.