Bug 1326276

Summary: deletig oscap reports notif says 'Successfully deleted 0 compliance reports'
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: SCAP PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Marek Hulan <mhulan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: bkearney, mhulan, parmstro
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/16223
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kedar Bidarkar 2016-04-12 10:13:45 UTC
Description of problem:
deletig oscap reports notif says 'Successfully deleted 0 compliance reports'

Version-Release number of selected component (if applicable):
sat62-snap7.1

How reproducible:


Steps to Reproduce:
1. after 'foreman_scap_client <policy_id>' command is run on the host
2. Reports are seen under compliance reports page
3. Delete the compliance reports to note, the notif

Actual results:
deletig oscap reports notif says 'Successfully deleted 0 compliance reports'

Deleting 1 or multiple reports shows "0" compliance reports.

Expected results:

deletig oscap reports notif should specify the count appropriately , rather than the below message for any number of deleted reports.
'Successfully deleted 0 compliance reports'
Additional info:

Comment 2 Shlomi Zadok 2016-08-22 08:18:19 UTC
Created redmine issue http://projects.theforeman.org/issues/16223 from this bug

Comment 3 Bryan Kearney 2016-09-05 14:15:21 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16223 has been resolved.

Comment 4 Ranjan Kumar 2016-09-09 14:20:35 UTC
*** Bug 1368225 has been marked as a duplicate of this bug. ***

Comment 8 Satellite Program 2018-02-21 16:54:17 UTC
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.
> 
> https://access.redhat.com/errata/RHSA-2018:0336