Project

General

Profile

Actions

Bug #16223

closed

deletig oscap reports notif says 'Successfully deleted 0 compliance reports'

Added by Shlomi Zadok over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1326276
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:

Actions

Also available in: Atom PDF